Dear App Builders,
is it possible to show a “Warning Toast Message” from an Assert Processor “Warning” where the Workflow is triggered from the Upload Form CC (0.4.1)?
Thank you for your help
Dear App Builders,
is it possible to show a “Warning Toast Message” from an Assert Processor “Warning” where the Workflow is triggered from the Upload Form CC (0.4.1)?
Thank you for your help
Dear Johannes,
First of all, I am not sure if I can give you the answer you have hoped for. To my knowledge this is not possible, but I haven’t tried it persistently enough. Maybe someone else knows the trick.
But I would recommend to always use the latest version of a Custom Component. Most new versions are only bug fixes and you would keep elements in your App from which it is known, that they are buggy already. There is already version 0.5.1 out. (And yes, it is sometimes a bit tedious to do the research about the latest version. The latest version already available on your instance is shown under
www.my-instance.com/static )
Hi Johannes,
it’s possible to configure toast messages with the config property customMessages
.
So in your case your case it seems like the endpoint runs successfully and only has a warning, so you probably need to add the property showJobDetails
to the success message, please have a look at the exmaple below.
Here is an example:
customMessages: {
upload: {
success: {
headline: "FILE UPLOAD SUCCESSFUL",
content: "The file upload was successful.",
icon: "tick"
},
error: {
headline: "FILE UPLOAD FAILED",
content: "The file upload failed.",
icon: "error"
}
},
endpointExecution: {
success: {
headline: "DATA PROCESSING SUCCESSFUL",
content: "The data was successfully processed.",
icon: "tick",
showJobDetails: false
},
error: {
headline: "DATA PROCESSING FAILED",
content: "An error occurred during data processing.",
icon: "error",
showJobDetails: false
}
}
}
Thanks a lot for your answers. Helped me quite along .
Is there also a way to only show Messages (coudldnt find an option in the Git Docu) from Assert processors? The Job details are way too much.
I think job details in this case are only the error/warning messages and afaik the message from the assert processor will also be included there, so in the end it should then only show the assert processor message (and other warnings when there are any).