
Script Task
Executes ECMAScript (program) on the server side and updates business data automatically. Capable for more complex processing than [Update Data] such as conditional branching and repetition processing, HTTP communication with the outside, email transmission, etc.
Capture

Notes
- Business data modification 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 the flow to which the processing proceeds when an error occurred 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)
- HTTP requests must be up to 10 per one automatic Task
- If [HTTP Destination Filtering] is enabled on the workflow platform, a request to an unauthorized connection destination will result in a runtime error
- When If (processInstance.getProcessInstanceDebug() === true) { } is written in the script, the block will only be processed during debug execution
- Reference
- R2300: Java Classes available in Script Task
- R2301 Script Data Retrieving / Assignment
- The name of the script engine “GraalJS” in and before Version 14.2 has been changed
- GraalJS (Nashorn Compatible Mode) (deprecated)
- Script Engine GraalJS (Nashorn Compatible Mode) Discontinued (April 2024)
Pingback: Notice Concerning Deprecation of Rhino (June 2021) – Questetra Support
Pingback: Common Password Request – Questetra Support
Pingback: Daily report flow-weather record (Script Task) – Questetra Support
Pingback: Catalogue Request Correspondence Flow – Questetra Support
Pingback: Notice Concerning Deprecation of Nashorn (September 2021) – Questetra Support
Pingback: Daily report flow-weather record (Add-on) – Questetra Support
Pingback: Account Registration Reservation Process – Questetra Support
Pingback: Employee Information Acceptance – Questetra Support
Pingback: Boss Evaluation by Ballot – Questetra Support
Pingback: Hours-worked Report Flow – Questetra Support
Pingback: Understanding HTTP Authorization Settings – Questetra Support