cancel
Showing results for 
Search instead for 
Did you mean: 

Create No.Of Subtasks dynamically

suresh_yaddula
Champ in-the-making
Champ in-the-making
Hi,

I have an requirement to crease N no.of subtasks dynamically and my flow has to wait all created subtasks getting closed then move to next stage.
How can i achieve this.  Please help me with suggestions.

Thanks,
Suresh
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
There is an API on the taskService to create subtasks.

However, the waiting behavior is not implemented like that I believe. Most likely you might need to have additional logic to check that requirement, before you call the Activiti engine.