cancel
Showing results for 
Search instead for 
Did you mean: 

Back Button for workflow tasks

linton
Champ in-the-making
Champ in-the-making
Hi,
          I recently got a new requirement from one of my client asking me to give a back option while executing a workflow.  First ti thought its easy just to add a another transition entry in processdefinition.xml file pointing to the previous task.

But the problem raised that  there should not be any mandatory check.

How can i make this. Since the back button also is a transition , how can i disable the mandatory fields while clicking on only this button this button.

please guide me with some ideas..

Thank you in advance..
1 REPLY 1

sgartner
Champ on-the-rise
Champ on-the-rise
Hi,
          I recently got a new requirement from one of my client asking me to give a back option while executing a workflow.  First ti thought its easy just to add a another transition entry in processdefinition.xml file pointing to the previous task.

But the problem raised that  there should not be any mandatory check.

How can i make this. Since the back button also is a transition , how can i disable the mandatory fields while clicking on only this button.

How about creating an intermediary node that has the mandatory fields, which then dumps into the proper task (not a task so no waiting).  Then when you create your "back" transition you don't send it through the node with mandatory fields, you send them straight to the task.  You could even wrap the intermediary node and the proper task into a super-state to make it clear they are logically one node.

Scott