cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic task - back push

chandra1
Champ in-the-making
Champ in-the-making

We have a scenario like this

   A –> B –> C –>D

After completing  C  the user decided to go back to  B  which is not defined in the process.

Is there a way to achieve this?   
5 REPLIES 5

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Chandra,

Try to use exclusive gateway in process design.
http://www.activiti.org/userguide/#bpmnExclusiveGateway

Regards
Martin

chandra1
Champ in-the-making
Champ in-the-making

Thanks for the suggestion.

Exclusive Gate way is a good if we predefined the conditions. 

But in my case, go to previous step from C–>B  or C—>A is not defined in process.  Adhoc basis user decided to push the task from C–>B  or C–>A  programmatically.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Chandra.

I think exclusive gateway could be applied in this case too.
let's follow this audit trail

A - complete task
B - complete task
C - set variable whereToGo to "A" and complete task
X - exclusive gateway decision based on the whereToGo variable. Outgoing link to the node A is taken.
A - complete task
….

Regards
Martin

chandra1
Champ in-the-making
Champ in-the-making
Excellent

Thanks for the help.  We will cross chech this.

chandra1
Champ in-the-making
Champ in-the-making
Hi Martin

Do you ahve code snippet to achieve this?

with thanks
Chandra
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.