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">
<bpmn:extensionElements>
<zeebe:taskDefinition type="script" />
<zeebe:taskHeaders>
<zeebe:header key="language" value="javascript" />
<zeebe:header key="script" value="a + b" />
</zeebe:taskHeaders>
</bpmn:extensionElements>
</bpmn:serviceTask>
scriptlanguage - the name of the script languagescript - the script to evaluatejob (ActivatedJob) - the current jobzeebeClient (ZeebeClient) - the client of the workerresult variableAvailable script languages:
Download the JAR file
Execute the JAR via
java -jar target/zeebe-script-worker-{VERSION}.jar
The connection can be changed by setting the environment variables:
zeebe.client.broker.contactPoint (default: 127.0.0.1:26500).Build with Maven:
mvn clean install
This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].
Content type
Image
Digest
Size
144.6 MB
Last updated
over 6 years ago
docker pull neermitt/zeebe-script-worker