User defined Java Expression
Description
User Defined Java Expression is a step in the Scripting Plugin for Process Studio Workflows. This step allows you to enter User Defined Java Expressions as a basis for the calculation of new values.
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 | New Field | The new field in the data stream. If you want to overwrite an existing field, you need to define the field here and in the "Replace value" option. |
3 | Java Expression | Specify the Java Expression |
4 | Value Type | Specify the data type. |
5 | Length | 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. Specify the length, - 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. |
6 | Precision | For Number: Number of floating point digits; For String, Date, Boolean: unused. No. of digits after decimal. Specify the precision, - For Number: Number of floating point digits; - For String, Date, Boolean: unused. |
7 | Replace value | Select a field from the drop down list when you want to replace a field. |