Set Exchange Variable

The Set Exchange Variable task sets the value of the exchange variable mediation exchange.

The Set Exchange Variable task can be placed on an input, output, or fault path.

The Set Exchange Variable task sets the value of the entire exchange variable — if you need to set several attributes, set them all at once, using one Set Exchange Variable task.

See Working with Exchange Variables for a description of how to define exchange variables for mediation operations.

General Tab

Use the General tab to specify a name and description for the task. This tab is useful for providing documentation for tasks in your mediation flows.

Field Description
Name Assign a name to the task, to identify the task in the mediation flow. This name appears in the tooltip that opens when you hover the cursor over the task icon in the mediation flow.
Description Describe the task briefly. This description appears in the tooltip that opens when you hover the cursor over the task icon in the mediation flow.

Input Tab

The Input tab contains a mapping panel for mapping data from the mediation exchange to the input fields of this task. See Transform Tasks for more information about using a mapping panel.

Field Description
ExchangeVariable

The exchange variable element defined in the mediation operation General tab appears on the right side of the mapper.

To set the exchange variable, map values from the mediation exchange to the exchange variable element.