Skip to main content

Implement a service task

Use this workflow model for the tutorial.

Click Import Diagram to inject the BPMN-model you just downloaded into the diagram.

processId-cloud

This workflow includes a service task and an XOR gateway. Select the service task and fill in the properties. Set the Type to test-worker.

workflow-cloud

Deploy the new workflow using the Save & Deploy button.

Make sure you have created a client and connected a cluster.

Now you can connect a worker for the configured service task:

zbctl create worker test-worker --handler "echo {\"return\":\"Pong\"}"