BPMS script task (scriptTask)

The default Camunda option allowing you to create simple, quick scripts without the need to create Java/ScriptCode handlers

Available languages include e.g. Groovy/JavaScript

Documentation

https://docs.eximeebpms.org/manual/latest/reference/bpmn20/tasks/script-task/arrow-up-right

https://docs.eximeebpms.org/manual/latest/user-guide/process-engine/scripting/arrow-up-right

Attaching a ScriptTask to the process

We choose Task and subtype ScriptTask:

  • Format: Language e.g. Groovy/JavaScript

  • Type: Inline Script

  • Script: the script we want to invoke

Illustration 1. Example of attaching a ScriptTask in the process

Popular methods

chevron-rightSetting data visible in the Eximee dashboardhashtag
chevron-rightHandling JSON in JShashtag
chevron-rightConverting JSON in string type to Object typehashtag

More information about JSON: https://docs.camunda.org/manual/7.7/reference/spin/json/01-reading-json/arrow-up-right

Last updated

Was this helpful?