Script Task

Executes ECMAScript (program) on the server side and updates business data automatically. Capable for more complex processing than [Service Task (Data Assignment)] such as conditional branching and repetition processing, HTTP communication with the outside, email transmission, etc.
https://support.questetra.com/bpmn-icons/script-task/

Configs
  • Allow to clear the required data item
  • Token will move to Error Boundary Event when processing fails
  • Script Engine
    • Nashorn
    • Rhino
  • Script

Capture

Notes

  • Business data substitution or updating is performed collectively after script processing is completed
  • Updating is not performed when an error occurs (advances to the next Step)
  • It is also possible to distinguish where processing to proceed when an error occurs from when it ended normally (Error Boundary Event)
  • Script processing time is limited to a maximum of 30 seconds (Slightly varies depending on load conditions)
  • Reference

See also