The following are configuration formats for output of numeric data via EL syntax. They are available for updating data of Numeric-type Data Item in Update Data or setting values for each Task. In addition to fixed values and referencing Numeric data, references to Numeric data within Table-type Data Items can also be used for data updating settings.
BPMN Icon: [Update Data]
Fixed Value
Format | Assignment Value |
---|---|
123.45 | 123.45 |
Numeric-type Data Item
Format | Assignment Value |
---|---|
#q_numeric | 12345.67 |
#q_numeric2 | 1.1 |
#q_numeric + #q_numeric2 | 12346.77 |
(#q_numeric + #q_numeric2) * 1.05 / 12 | 1080.34 |
Numeric data in Table-type Data Item
Format | Assignment Value |
---|---|
#q_table.summary['field_name'] | 567.89 |
#q_table.summary['field_name'] * 0.05 + 0.005 | 28.39 |
Notes
- The operation result is truncated to fit the significant digits of the assignment's Numeric-type Data Item
- E.g. If you want integer rounding, add a “0.5″ in the expression
- In addition, If you enter thousand-separators other than specified in the number format in the Data Item or non-numeric characters, it will result in an error
- No configuration formats in "Update Data" clears data
Comments
0 comments
Article is closed for comments.