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 ?
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.
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
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.