bpm : correlation
I am sending a PO request using the send step and waiting for a PO response using the recieve step.
Assume that i have two instances of this BPM running i.e two PO request's going simultaneously.
when i get the response back for these two requests , there will be two recieve steps waiting for
the response since there are two instances of BPM running. the response need to be assigned the
corresponding requests. This is where correlation comes into picture. I can use PO number as my
correlation field. i.e I activate my correlation in the send step and use this correlation in receive
step (this is configurable in BPM).
Example: PO number needs to be part both request and the response message structure.
send step -> activate correlation -> send message with PO Number1
Receive step -> use correlation -> receive response message with PO Number 1.
send step -> activate correlation -> send message with PO Number2
Receive step -> use correlation -> receive response message with PO Number 2.
can anyone suggest me the example scenario or similar scenario of this case.