Chem eStandards Module Version 7.1.July 2008 | Installing and Using CHEM Module | Running and Monitoring a Conversation | Running a Conversation and the ConversationID | Rejoining an Existing Conversation on the Fulfiller's Side
 
Rejoining an Existing Conversation on the Fulfiller's Side
When the process model on the fulfiller's side has completed processing a business document, a service invoked by the fulfiller's Send PO step sends the business document to a back‐end system. The back‐end system must maintain the ConversationID associated with the PO. The back‐end system processes the PO and sends an internal Purchase Order Response to rejoin the existing conversation by invoking the pub.estd.chem:processDocument service. You pass the internal PO Response and the stored ConversationID as inputs to this service. The Process Engine searches for a running conversation (or process instance) where a Wait for PO Response step is waiting for a PO Response with a matching ConversationID. When the Process Engine finds the correct conversation (or process), it sends the PO Response to rejoin the existing conversation.
If the Process Engine does not find a running conversation where a Wait for PO Response step is waiting for a PO Response with a matching ConversationID, the Process Engine ignores the PO Response.