Skip to content
Zeebe worker for script evaluation
Java Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
Jenkinsfile chore(ci): use new agent nodepool names Mar 27, 2020
LICENSE Update Jul 2, 2019


A Zeebe worker to evaluate scripts (i.e. script tasks). Scripts are useful for prototyping, to do (simple) calculations, or creating/modifying variables.


Example BPMN with service task:

<bpmn:serviceTask id="scripting" name="Evaluate the Script">
    <zeebe:taskDefinition type="script" />
      <zeebe:header key="language" value="javascript" />
      <zeebe:header key="script" value="a + b" />
  • the worker is registered for the type script
  • required custom headers:
    • language - the name of the script language
    • script - the script to evaluate
  • available context/variables in script:
    • job (ActivatedJob) - the current job
    • zeebeClient (ZeebeClient) - the client of the worker
  • the result of the evaluation is passed as result variable

Available script languages:


  1. Download the JAR file

  2. Execute the JAR via

    java -jar target/zeebe-script-worker-{VERSION}.jar


The connection can be changed by setting the environment variables:

  • (default:

Build from Source

Build with Maven:

mvn clean install

Code of Conduct

This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to

You can’t perform that action at this time.