cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional actvitities

penusila611621
Champ in-the-making
Champ in-the-making
I have a requirement must be implemented as below.

1. For example, have a process definition with four sequntial activities as below

  Start –> Act1 –> Act2 –> Act3 – Act4 –> End (Ex. Process Definition)

2. When the execution is at Act3 means Act1,Act2 are completed,  i would like to re execute either Act1 OR Act2. Basically is there any provision in activiti to skip the execution of some activities in the process flow.

5 REPLIES 5

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

You could use exclusive gateway to loop back in process execution (based on decision taken in Act3).

Regards
Martin

Hi Martin,

The approach you are proposed here part of process orchestration. I am looking for any implicit Activiti feature to achieve the same. i have rework conecpt after every human task in process definition. If I start using the decision gateway then process definition looks awekward and I does't want to do it.

is there any default feature provided by activiti..

penusila611621
Champ in-the-making
Champ in-the-making
any idea on the post. It's very urgent for me. any document to check this out

martin_grofcik
Confirmed Champ
Confirmed Champ
is there any default feature provided by activiti..

I do not think so. Your requirement is specific.

process definition looks awekward
You can use exclusive gateway encapsulated in subprocess to make your process definition more readable.

Regards
Martin

penusila611621
Champ in-the-making
Champ in-the-making
Hi Martin,

Thanks for youre response.

So this kind of requriements has to be done through process modelling only and Activiti has no support for it. Reason I raised this question is "I have seen this feature as OOTB in some other BPM tools" to implement this kind of requirement.