Tutorials / Glossary / Service Task

Service Task

An automated step executed by a worker — code, not a human, performs the work.

Charge Card

A service task (a rounded rectangle with a gear icon) represents work performed automatically — calling an API, running a calculation, sending an email. On Camunda 8 / Zeebe, a service task has a job type; a worker process polls for jobs of that type and completes them.

Service tasks are the most common way to integrate external systems into a BPMN process, whether via a hand-written worker or a pre-built connector.

Example

Bpmn.createProcess("payment")
  .startEvent("start")
  .serviceTask("charge", { name: "Charge Card", taskType: "payment-charge" })
  .endEvent("end")
  .withAutoLayout()
  .build();
Try it hands-on: Automating work with service tasks →