"Back" outcome for user task with no form validation
I am using Activiti version 1.6.2 and I have a simple process for approving expenses (see attached ZIP file). The workflow has:
an "Expenses type" user task, with a form definition associated which includes mandatory fields
an "Expenses amount" user task, with a form definition associated which includes mandatory fields
an "Expenses approval" user task, with a form definition associated
I would like to have a "Back" outcome for the "Expenses amount" which does not take the form validation for the mandatory field and allows the user to go back to the previous task without typing the amount.
I can't change the workflow process, neither the form definitions; this is a strictly requirement.
It might be possible to make the process jump backwards to a different point at the implementation level like in Activiti User Guide . But it's made a bit more difficult for you that you want to do this from a form. I'm not sure what hook you'd be able to use to initiate the backward movement. Maybe you'd have to create one via a stencil.