Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Error handling in FormsSubmissionFinalized event


We're currently building custom elements in EPI Forms. Part of that is that we also want to call custom webservices with custom logic. Because we use multi step forms and only want to submit the data at the end of the process to the webservices, we can't use the FormsSubmitting event (that is triggered each step transition and only contains data of that specific step). Therefore we're hooking into the FormsSubmissionFinalized event which is triggered when the submit button is pressed. However the FormsSubmissionFinalized event doesn't have a cancellation handling mechanism like the FormsSubmitting event has. Is there a way to handle errors in that specific event, such that we can send feedback to the UI in case something is going wrong in the webservice calls?

Oct 31, 2018 14:35

You can write a custom actor which validate your submission then send cancel signal and message. Please see the doc here:

Note: It is available from Forms 4.16

Nov 05, 2018 11:42

Thanks for this input! I will give it a try to see if it fits within our solution.

Nov 07, 2018 8:26
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.