cancel
Showing results for 
Search instead for 
Did you mean: 

Subprocess or Call Activiti

jindal8787
Champ in-the-making
Champ in-the-making
Hi guys

We have the following requirements. Need your help in deciding the final approach -

1. One main process (only one process instance to be created per year)
2. One sub-process to be started from the second-last task of the main process.
3. The sub-process can have thousands of instances created.
4. Main process should continue only when all the sub-process instance close.

Sample Requirement Flow -
1. Main process starts (total 3 tasks)
2. 2 out of 3 tasks completed
3. 1000 instances of sub-process started
4. 1000 instances of sub-process ended
5. 3rd task of main process completed.

Please suggest what is the best approach for the above requirement. A sample will be much appreciated.

1 REPLY 1

trademak
Star Contributor
Star Contributor
You could use a multi instance call activity to start all the sub processes. Another approach could be to use signal events to let the main process know if a sub process instance has ended.

Best regards,