I have modeled parallel multi instance Sub-Process element, but I want to create them dynamically.
I mean I have 2 different type of sub-processes (SubProcess1 and SubProcess2). I want to create 3 instance of first sub-process and 5 instance for second one.
Before this sub-process I have service task where I can define the quantity and kinds of the sub-processes.
As I understand I can set Sub-Process Called Element parameter like that : ${taskSubProcessName} , but how I can do it for different and multiple times ?
Also then how I can set separate “Collection” parameter for each of them.
Into Service Task :“Define Sub-Processes” I have defined dynamically how many subprocess I have and what is their kinds, for example 1 sub-process 10 instance and second 15 instance.
Call Activity has Property : “Called Element”, where should be defined Name of SubProcess . How it should be dynamic ? can I pass collections here ? if yes, then how to pass “Collection” parameter for each SubProcess ?