I’ve created a simple use case for a stock movement form that updates item quantities. I’ve bound a post-action workflow to the submit button, but I’m unsure how to handle errors effectively. Specifically, I want the form to display an error message if the workflow fails or is inactive.
Could anyone suggest the best approach to achieve this? For example:
- How can I validate the workflow status before submission?
- What’s the best way to capture and display workflow errors on the form?