Create a Process and create Subprocess from the list with "Call Activity" and "iteration" (multi-instantiation parallel)
Dear, it is difficult for me to be able to model a process of the type father and son or master detail with the use of the call to the Activity.
So far I have only modeled a single process in a simple way. I have not even needed to send messages, which I'm sure I'm wasting a lot of power.
I have deployed the Procurement requests example process but it It has good things but it is useful as a starter.
My need is the following:
I initiate an application process with a list of purchase items. When it passes to the Chief to approve there should be so many independent instantiated Sub-processes with the same Parent Process so that each process continues with a task of approving the item.
Then all the Subprocesses would go through their different states until they finish and conclude the Father process.
Is this possible after the instantiation of the Father Process to make a "Call to activity" with iterator (multi-instantiation parallel) for each item?
How should I design with the BDM where the BDM contains 2 tables, Request and item Purchase?
Each subprocess will be attended independently.
I already appreciate the help that will be extremely important to me.
Yes this is totally doable and you are in the good direction: you should use a multi-instantiated call activity using "parallel multi-instantiation". You can the items list to dynamically create one child process instance per item and pass the item to the child process instance.
Thank you, I will try to make the attempt.
In the BDM, the data of the parent process must be related to the data of the children.
Attributes parent process
idchildrenprocess "children process" (Multiple)
Someone has some example of how to do it. I guess it's something relatively frequent to model.
Only that up to now I have treated the process as an individual case and I have not needed sub processes