02-13-2017 11:05 PM
I have seen about Multi-instance usage about looping of a particular task in activiti. But i have a scenario where looping has to happen between group of activities sequentially.
Example
Start -----> UserTask 1------> UserTask 2 ---- End
In the above sample workflow, UserTask 1 and UserTask 2 together has to loop one after the other 5 times sequentially.
Is it possible in activiti ? What is the approach to achieve the above use case ?
02-14-2017 05:30 AM
Hi chandanmb,
I think what you can do is make use of Call Activity within your process, your main process could call a subprocess which can have the tasks that would be performed in sequence. And if you configure your Call Activity to be a Parallel Task then you can run the subprocess the number of times you want.
Regards.
02-15-2017 06:19 PM
Hi chandanmb _ ,
It would be much helpful if you can describe your use case so people understand what you're trying to model before jumping right away to the technical part.
UserTask 1 and UserTask 2 together has to loop one after the other 5 times sequentially.
Sounds like you're looking for Multi-instance modelling of BPMN? Activiti User Guide
Thanks,
Thong
Explore our Alfresco products with the links below. Use labels to filter content by product module.