Call a Sub-process multiple times

Hi

I need to design a process which based on the input passed to it, would trigger a sub-process multiple times e.g. lets say I pass the Main process a Team-Id and then we need to call a sub-process multiple times based on the number of Team-members we have for that team-id (trigger sub-process once for for each team member).
Team-Flow

Please suggest how, I can achieve this.

Thanks
Vinay

Hi Vinay,

use multiinstance:
http://www.flowable.org/docs/userguide/index.html#bpmnMultiInstance

Regards
Martin

Thanks @martin.grofcik. It worked for me.

Regards
Vinay

Hi Vinay,
How did you achieve this. I have the same requirement. Can you please guide.

Thanks in advance
Shweta

Hi Shweta,

have a look on org.flowable.engine.test.bpmn.multiinstance.MultiInstanceTest in flowable source.

Regards
Martin