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.
Procedure
Complete the following steps to set the value of an output element to a constant:
Results
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:
Type | Default value |
---|---|
string | Empty string |
dateTime | 2002-01-01T11:00:00 |
boolean | false |
decimal | 0.0 |
double | 0.0 |
hexBinary | 00 |
long | 0 |
duration | P1Y |
time | 00:00:00 |
date | 2002-01-01 |