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

7 comments:

Rafael said...
This comment has been removed by a blog administrator.
Unknown 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

Unknown said...

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

Thanks to all leads in this forum.


Thanks,
Narasimhulu.S

Unknown said...

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


Thanks,
Narasimhulu.S

Unknown said...

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


Thanks,
Narasimhulu.S

Roger Goossens said...

"This needs to be defined at Sub-process level and NOT AT PROCESS LEVEL. I made this mistake once too often!" This remark saved my day! Thanks Niall. This also goes for correlation keys I presume?

Unknown said...

I am facing the issue in Receive activity not recieving the message from multiinstace parrallel process .could you please share the code jegan.na@gmail.com