Skip to main content

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 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.
2New FieldThe 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.
3Java ExpressionSpecify the Java Expression
4Value TypeSpecify the data type.
5LengthFor 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.

6PrecisionFor 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.

7Replace valueSelect a field from the drop down list when you want to replace a field.