Skip to main content

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 NameDescription
1Step nameSpecify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
2NameSpecify the name of a field to store a particular variable value.
3VariableYou 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).
4TypeSpecify the field type: String, Date, Number, Boolean, Integer, BigNumber, Serializable, or Binary.
5FormatSpecify the format of the field after the type has been determined.
6LengthSpecify 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).

7PrecisionSpecify precision,

-For Number: Number of floating point digits.

- Not used for String, Date, or Boolean.

8CurrencySpecify currency format to interpret numbers with currency symbols. For example, $10,000.00 or E5.000,00.
9DecimalSpecify decimal separator:

- a period (".") or comma (",") for number values.

10GroupSpecify a group indicator e,g to use a period (".") or comma (",") for number values.
11Trim TypeSpecify Trim Type for the field before processing: select either none, left, right, or both (left and right).