Get Variables
Description
Get Variables is a step in the Process Plugin for Process Studio Workflows. Get Variables step can read variables and convert them to fields in the stream as string values. This step can return rows or add values to input rows. To convert the Variable into a data type other than String you may use Rename Fields steps Meta-data tab. Additionally to get system values, including command line arguments, use the Get System Info step.
Configurations
No. | Field Name | Description |
---|---|---|
1 | Step name | Specify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow. |
2 | Name | Specify the name of a field to store a particular variable value. |
3 | Variable | You may enter variables as complete strings; for example, you can specify: ${java.io.tmpdir}/tempfile.txt and it will be expanded to /tmp/tempfile.txt on Unix-like systems. Or you may choose a variable from the list (Ctrl+space). |
4 | Type | Specify the field type: String, Date, Number, Boolean, Integer, BigNumber, Serializable, or Binary. |
5 | Format | Specify the format of the field after the type has been determined. |
6 | Length | Specify length of the field. -For Number: Total number of significant figures in a number; - For String: total length of string; - For Date: length of printed output of the string (for example, entering 4 would only return the year). |
7 | Precision | Specify precision, -For Number: Number of floating point digits. - Not used for String, Date, or Boolean. |
8 | Currency | Specify currency format to interpret numbers with currency symbols. For example, $10,000.00 or E5.000,00. |
9 | Decimal | Specify decimal separator: - a period (".") or comma (",") for number values. |
10 | Group | Specify a group indicator e,g to use a period (".") or comma (",") for number values. |
11 | Trim Type | Specify Trim Type for the field before processing: select either none, left, right, or both (left and right). |