Designing processes - EMC Community Network
Designing processes - EMC Community Network
Designing processes - EMC Community Network
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Designing</strong> the Process<br />
instance. To make this match, the request message has to include some data that uniquely identifies the<br />
requesting process instance. This is called the correlation identifier. The response message coming<br />
from the service also contains the same correlation identifier, so that when the Process Integrator<br />
receives the incoming message, it reads the correlation identifier and then routes the message to the<br />
right process instance.<br />
There are two basic approaches to specify a correlation identifier:<br />
• Transport-based<br />
• Content-based<br />
In the transport-based approach, the identifier is created as part of the protocol control field. For<br />
example, a Java Message Service (JMS) message can generate a unique key that can be used to<br />
identify the process instance.<br />
In the content-based approach, the identifier is taken from the payload. For example, in a purchase<br />
order application, the purchase order number is unique to each process instance. Therefore, it can be<br />
used to match the response to the requesting process instance. In some situations you need to combine<br />
multiple data fields to ensure uniqueness.<br />
If a correlation identifier has not been configured for an activity or if it is missing from the incoming<br />
message, the system looks for a correlation set to match the message to a workflow. Correlation<br />
sets are specified at the process level in the Advanced tab of the Process Properties. They are used<br />
to enable correlation in the activities of that process. You can use one or more process variables to<br />
create a correlation set to uniquely identify the process instance.<br />
Use the data mapper’s copy function to compare one of the attributes of your incoming data to the<br />
value of one of your process variables belonging to a correlation set.<br />
Note: The copy function is used to compare these values. If there is a match between the value of<br />
the process variable (belonging to a correlation set) and the value of a data attribute of the incoming<br />
message, the match is successful and the step activity is completed.<br />
Using the data mapper<br />
The data mapper is a graphical tool that simplifies the exchange of process data, such as workflow<br />
method arguments, web services parameters, return values from database queries, and attributes<br />
specific to services such as JMS, HTTP, or FTP. This section addresses several topics involving the use<br />
of the data mapper that can arise in your projects.<br />
Mapping repeating attributes<br />
There are times that you need to copy a source variable to multiple target variables. This can be done<br />
using the data mapper. You can also perform operations in the course of the mapping, for example,<br />
mapping a date to a date and also mapping the date to a string variable (using the date-to-string<br />
function) at the same time.<br />
To copy one variable to many variables:<br />
1. Create the copy function as usual for the first item.<br />
<strong>EMC</strong> Documentum xCelerated Composition Platform Version 1.6 Best Practices Guide 37