Setting the value of an output element to a simple data type
In the Graphical Data Mapping editor, use the Assign transform to set the value of an output element to a constant.
About this task
You cannot use the value of an input element to set the value of an output element in an Assign transform.
However, you can define supplement connections between input elements and the Assign transform. You can then use these input elements in a conditional expression that defines the condition under which the transform should be applied.
The output element is set to a constant value.
Complete the following steps to set the value of an output element to a constant:
- Create an Assign transform for the
output element, by using either of the following methods:
- Click the output element and drag the connector towards the input elements, releasing the connector onto a blank part of the canvas. When you release the connector, an Assign transform is created.
- Right-click the output element and then select Create
- Enter the required constant into the Value field
in the Properties panel for the Assign.
The constant value can be any simple data type value.Note: Do not enclose string literals in single or double quotes; enter the required text in the entry field without quotes.
The following figure shows the Properties view of the Assign transform:
If you do not specify a value, an empty element is created.
By default, the following values are set for an output element when you use the Assign transform: