I have a simple process with three task first task(t1) has save and complete button second task has a form with two fileds f1 and f2 where f1 is mandatory. I have two outcomes on this form submit and cancel, submit will take me to the next task(t3) where as cancel should take me to task(t1). When i am trying to click cancel i dont want the current form to be submitted but token should move back to task(t1).
Bassam Al-Sarori, Ciju Joseph, Mauricio Salatino Need your help on the above issue. This can be a general task cancel issue.
Thanks But if you see my orignal post where i am mentioning that task if task(t2) has mandatory fields it will throw error that form has mandatory fileds. since task(t2) will try to submit the form(and is same for all the task where on any outcome button it will try to submit the form). Ideally we should have some cancel outcome button same as 'Save' and 'Complete' default out come button.
I see your point. You are not able to click on the cancel button if there are required fields not filled out.
Honestly, I don't know if this is considered a bug or something to improve on the activiti side (Bassam Al-SaroriMauricio Salatino) but once the required fields are filled out you are able to click on the cancel button to go back to the previous task