Tuesday, July 30, 2013

#266 BPM Parallel Multi Instance sub processes

Very simple scenario here -






















An order with lines is processed. The OrderProcess accepts in an order with its attendant lines. The Fulfillment process is called for each order line. We do not have many order lines, and the processing is simple, so we run this in parallel.

Let's look at the definition of the Multi Instance sub-process -








































The Send and Receive Activities will require a Conversation to do the correlation between the 2 processes. This needs to be defined at Sub-process level and NOT AT PROCESS LEVEL. I made this mistake once too often!















Send Activity Definition -




























Receive Activity Definition -



































Full lab doc HERE

5 comments:

Rafael said...
This comment has been removed by a blog administrator.
Narasimha S said...

Hi Niall,

Thanks for your great knowledge sharing to us. I have done this scenario, but when I was trying to test it shown the error of receive task already executed something like.

could you please share the code of this project.

mail ID: narasimha.s741@gmail.com


Thanks,
Narasimhulu.S

Narasimha S said...

It is a very good article , which is helping me a lot.

Thanks to all leads in this forum.


Thanks,
Narasimhulu.S

Narasimha S said...

This is very wonderful blog. I am getting a lot of information and thanks to all leads in this forum.


Thanks,
Narasimhulu.S

Narasimha S said...

This is very wonderful blog. I am getting a lot of information and thanks to all leads in this forum.


Thanks,
Narasimhulu.S