cancel
Showing results for 
Search instead for 
Did you mean: 

How to define parallel tasks dynamically?

vamsinipun
Star Contributor
Star Contributor

Hi Team,

I am using activiti in my spring web application. I was defined one process as follows,

Here i was defined parallel tasks are three. But in my scenario, it may be one or more parallel tasks then please let me know how can i define the diagram? Please help me out this?

Thanks

13 REPLIES 13

vamsinipun
Star Contributor
Star Contributor

and list as like List of String format. Now how can i set this.

hari
Star Contributor
Star Contributor

I cant help you more than this. If you still need help, please read the user guide where you can find more details. 

Follow what Hari is suggesting, 

If you have a process variable with the amount then you know how many instances you will have by checking into that process variable. 

salaboy
Star Collaborator
Star Collaborator

Yeah multi instance nodes are the answer. Check the docs on how to use them.