By placing [Update Data] in the middle of a Workflow you can overwrite Business data on each Issue passing the Step. You can automatically set the "current time (Time of passing)", or the "Tax price" which refers to the "Price excluding Tax" that was entered at the upstream Step.
1. Usage Example of Data Auto-setting
- 1. Calculation of the relative value
- Set the date of three days after the "document delivery date" which has been entered in the upstream process as the "deadline"
- 2. Unified Format
- Automatically generates a string in accordance with the naming convention and set it as "invoice ID"
- If you want to automate more complex data processing you can use the [Script Task]
2. Setting a Formula for Calculation of Numerical Values
- a. Reference Other Numerical Data
- Calculate numerical values by referring to Numeric-type data or fixed real numbers
( (#q_numeric1 + #q_numeric2) * 0.05 - #q_table.summary['total'] ) / 30
R2270: Numeric Output via EL syntax
3. Setting a Formula for Processing of Date Time
- a. Reference Other Datetime Data
- Calculate the date or time by referring to the Date-type data or Datetime-type data
- b. Refer to Management information of the Workflow Platform
- Calculate by referring to the Start time or the current time
#q_datetime.addHours(9)
#now.addDays(1).getFirstTimeInDate().addHours(9)
R2271: Output of Date and Datetime Data via EL syntax
4. Set the Selection Result
- a. Set a Fixed value
- Set fixed values for the Choice ID of a Select-type Data Item
R2273: Auto-assignment to Select-type
5. Setting a Formula for Generation of a String
- a. Reference Other Business data
- Generate a string from String-type data or User-type data, etc.
- b. Reference Management information of the Workflow Platform
- Generate strings from the name of the Business operation or the Started User, etc.
Mr. #{#q_string1}
xyz-#{#dateFormatter.format('yyyy-MM-dd', #q_datetime)} xyz#{#sformat('%06d', processInstanceSequenceNumber)}
R2272: Output of Strings via EL syntax
BPMN Icons: Update Data
- #dateFormatter.format () is also available when you want to change the format of date and time information
- #dateFormatter.format (): format() method of "com.questetra.bpms.core.event.scripttask.DateFormatWrapper"
- #sformat () is also available when you want to change the format of text string information arbitrary
- #sformat(): format() method of "java.lang.String"
6. Clear the entered value
- a. Clear the entered value
- Clears (deletes) the entered/selected value or attached file
- Values cannot be cleared for Discussion-type (append-only) and Guide Panel-type (display-only) Data Items
Comments
0 comments
Please sign in to leave a comment.