Native
Synchronous
No Custom Parameters
Assign is used to assign a value to a variable.
Assign allows one to specify a value in the
Value, Value2, Value3, and Value4 action parameters;
a value specified in any one of these action parameters will be assigned to the variable in the respective
ResultData, ResultData2, ResultData3, ResultData4 result data parameters.
The Assign action is an effective means to transfer the value of a local variable to a global variable. This can be done by specifying the local variable as a Value action parameter, and the global variable as the corresponding ResultData. For reference, another way a local-to-global assignment can be acheived is via the CustomCode action.
A specified value in one of the Value action parameters is passed directly to the type variable in the corresponding ResultData. The native type will invoke the best-fit Parse(System.Type) overload in order to complete the assignment of the value. See native types for more information.
The built-in types which map to .NET types (System.String, System.Int32, System.DateTime, etc) will attempt to parse and convert a System.String input assigned to it, using the .NET type's Parse(System.String). For instance, if one specifies a literal 5 as Value, the Application Runtime Environment can successfully assign this value to a Int native type variable in ResultData because the .NET integer type supports using Parse(System.String) to convert a System.String to a System.Int32.
| Parameter Name | .NET Type | Default | Description |
|---|---|---|---|
| Value * | System.Object | The value specified for this action parameter will be assigned to ResultData. | |
| Value2 | System.Object | The value specified for this action parameter will be assigned to ResultData2. | |
| Value3 | System.Object | The value specified for this action parameter will be assigned to ResultData3. | |
| Value4 | System.Object | The value specified for this action parameter will be assigned to ResultData4. |
| Parameter Name | .NET Type | Description |
|---|---|---|
| ResultData | System.Object | The variable to hold the value specified in Value. |
| ResultData2 | System.Object | The variable to hold the value specified in Value2. |
| ResultData3 | System.Object | The variable to hold the value specified in Value3. |
| ResultData4 | System.Object | The variable to hold the value specified in Value4. |
Branch Conditions
No description.