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
This comment has been removed by a blog administrator.
ReplyDeleteHi Niall,
ReplyDeleteThanks 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
It is a very good article , which is helping me a lot.
ReplyDeleteThanks to all leads in this forum.
Thanks,
Narasimhulu.S
This is very wonderful blog. I am getting a lot of information and thanks to all leads in this forum.
ReplyDeleteThanks,
Narasimhulu.S
This is very wonderful blog. I am getting a lot of information and thanks to all leads in this forum.
ReplyDeleteThanks,
Narasimhulu.S
"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?
ReplyDeleteI 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
ReplyDelete