User Task
A step in the process that waits for a human to complete a form or make a decision.
A user task (a rounded rectangle with a person icon) represents work assigned to a human — reviewing a request, approving an expense, entering data into a form. The process pauses at a user task until someone completes it.
User tasks are commonly linked to a form (Camunda Forms or an embedded form definition) that defines what fields the assignee fills in.
Example
Bpmn.createProcess("approval")
.startEvent("start")
.userTask("review", { name: "Review Request", formId: "ReviewForm" })
.exclusiveGateway("gw", { name: "Approved?" })
.branch("yes", (b) => b.condition("= approved").endEvent("end-ok"))
.branch("no", (b) => b.defaultFlow().endEvent("end-rejected"))
.withAutoLayout()
.build();
Try it hands-on: Your first BPMN diagram →