Implement a Service Task
Use This workflow model for the tutorial.
- Console Modeler
- Zeebe Modeler
Use the "Import New Diagram" button to inject the BPMN-model you just downloaded into the diagram
This workflow includes a Service Task and an XOR Gateway. Select the Service Task and fill in the properties. Set the task-type to 'test-worker'.
Deploy the new workflow using the "Save & Deploy" button.
Make sure you have created a client and connected a cluster.
This workflow includes a Service Task and an XOR Gateway. Select the Service Task and fill in the properties. Set the task-type to 'test-worker'.
Deploy the new workflow.
Now you can connect a worker for the configured service task:
zbctl create worker test-worker --handler "echo {\"return\":\"Pong\"}"