December 5, 2011 6:21:20 AM PST
I have a scenario similar to a shopping cart where one order may have multiple items. for each item there is a separate process definition defined to handle the approval etc. i was trying to use SubProcess and Iterator and need some information. Here is what i wanted to implement:
1. Create a main process for Order Processing
2. create Subprocess node with iterator to create an many subprocess instances as the itemns and use XML uda to populate relevent information for the sub process.
but the problem is, subprocess may need to instantiate different PDs for each item, but at design time i need to map the PD with sub process node, which ties 1 PD with the node and cannot be dynamic. Is there any way to handle this?
another twist to this is, while one order and these subprocesses are executing, requestor might update the order to add more items. but Order process will not get control back unless and untill all the executing sub processes are completed. Is there any way to instantiate more subprocess without waiting..??
i know even the 1st requirement is difficult (may be even impossible) to achieve..... just trying to get some ideas
Author: Mukesh
Attachment: