Good day.
I'd like to know the best practice in setting up the following workflow.
I have a process with a start form.
After the user submits the form and the process starts, I want to be able to check the input values and depending on some logic, raise an error so that the process does not start or is cancelled.
Is it better to use an execution listener with some find of script that can define a variable that I can then check in an exclusive gateway?
After that if there was an error I thought about using an End Error Event or End Terminate event.
I need to so something similar when a user task form is submitted.
Open to any other suggestions.
I'm using Activiti 6 Beta 2.