The following are configuration formats for the automatic assignment of data to Numeric-type Data Items. In addition to fixed values and referencing Numeric data, references to Numeric data within Table-type Data Items can also be used for assignment settings.
BPMN Icon: [Service Task (Data Assignment)]
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
- If you do not set anything as the format settings, a blank will be assigned (data will be deleted).
- Also works with an old format using the data definition number (data ['9']) instead of the field name (q_numeric)
- Likewise, an old format (summary['3']) works for summary in Table-type
Comments
0 comments
Please sign in to leave a comment.