Logic
Convert Type Node
Convert value from source type to target type.
This node allows you to convert value from source type to target type.
Node Inputs
- Value: The value to convert.
- Type:
<based on source type>
- Type:
Node Parameters
On the face of the node:
- Source Type: The type of the value to convert. The only value available currently is
Text
.- Type:
Dropdown
- Type:
- Target Type: The type to convert the value to. The available options are
Integer
,Decimal
,Boolean
andTimestamp
. The default option isInteger
.- Type:
Dropdown
- Type:
Node Outputs
- Converted Value: The converted value in the target type
- Type:
<based on target type>
- Example usage:
{{convert_type_0.converted_value}}
- Type:
Example
The below example is a pipeline which converts a value from Text
to Integer
.
- Input Node: The value to convert
- Type:
Text
- Type:
- Convert Type Node: Converts the value from
Text
toInteger
- Value:
{{input_0.text}}
- Source Type:
Text
- Target Type:
Integer
- Value:
- Output Node: Outputs the converted value
- Output:
{{convert_type_0.converted_value}}
- Output: