Process Engine 10.7 | Process Engine Services | Summary of Elements in the WmPRT\pub Folder | pub.prt.tn:mapCIDtoPID
 
pub.prt.tn:mapCIDtoPID
WmPRT. Sets up a mapping between the specified conversation ID and process instance ID.
This service is a wrapper around pub.prt.correlate:establishCorrelation.
Input Parameters
The following table lists the input parameters.
ConversationID
String Conversation ID that you want to map to the specified process instance ID.
ProcessInstanceID
String Process instance ID that you want to map to the specified conversation ID.
Output Parameters
The following table lists the output parameters.
success
String Flag indicating whether the mapping was established. The following values apply:
*true — The mapping was established.
*false — The mapping was not established.
Note:
If this service runs to completion, the mapping has been established.
Usage Notes
The Process Engine automatically establishes this mapping when a Trading Networks document (bizdoc) is used to start a process or is modeled as an output from a process step. Use this service when there is no way for the Process Engine to determine the mapping itself (for example, when a process is started with a non-Trading Networks document and later waits for a Trading Networks document).
Use this service with care. Be sure to create correct conversation ID to process instance ID mappings; an invalid mapping could prevent other processes from completing successfully.
See Also