I try to model simple process:
- Chairman send order to all managers
- Each of managers, in parallel, recive it and base on it they send order to workers
- Each of them, in parallel, recive it and the process end
The problem is that parallel (for loop) action inside another paraller action. Every manager recive order and then send orders without waiting for other managers, then every of workers recive it. I throught that paraller sub-process for these three task (recive, send, revice) with last task also paraller will be enough, but then I read that sub-process can't have lines inside so I they can't have both managers and workers inside:
An embedded subprocess can occur only within a parent process to which it belongs. An embedded subprocess cannot contain pools and lanes, but it can be placed within the pool or the lane of the parent process.
So now I don't know how should I model it. I didn't find any solution.
I attach my work, that I know is wrong, to visualize the problem https://i.stack.imgur.com/54wy6.png