Configuring correlation sets
Correlation sets are used in runtime environments where
there are multiple instances of the same process running. The sets
allow two partners to initialize a BPEL process transaction, temporarily
suspend activity, and then recognize each other again when that transaction
resumes.
About this task
The following procedure creates a correlation set for a process:
Procedure
What to do next
The following procedure creates a correlation set reference for an activity:
- In the BPEL process editor, click the activity that you want to associate with a correlation set, and click Correlation in the properties area.
- Click Add and configure the set as follows:
- In the Direction field, chooseSend if
this set is to be used for outgoing messages, Receive for
those that are incoming, or Both when it can
be used for either.Note: The options available here will depend upon what kind of activity you are configuring. For some activities like receive, reply or elements like receive, this field is set for you.
- In the Initiation field choose from one
of the following options:
- Select Yes if this is the first time this correlation set has been executed, and this is when the messages that will link this user to this workflow are to be stored.
- Select No if the correlation set will be always initialized by another activity.
- Select Join if multiple activities can initialize the correlation set. This is especially useful if you are designing a process with multiple parallel receives, and you are not sure which one will get executed first. If you specify Join for both of them, then the first one to run will initiate the correlation set, and the second will use the existing value.
- In the Correlation Set field, select the appropriate pre-existing correlation set from the drop-down menu.
- In the Direction field, chooseSend if
this set is to be used for outgoing messages, Receive for
those that are incoming, or Both when it can
be used for either.
) icon
beside
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15