The elements · 06 · 8 min

Activities

Where the work happens. The icon in the corner says how the work is done.

Task types: the icon says how the work is done

Five task types, one icon each: a person in a system (user), software (service), by hand (manual), a rule-based decision (business rule) and a message out (send).

Approve invoiceFetch credit scoreUnpack palletDetermine discountConfirm order

The shapes above are all tasks. What separates them is how the work gets done: by a person in a system, automatically in software, by hand, as a rule-based decision, or as a message going out or coming in. The table makes the distinction precise.

TypeHow the work is done
User taskA person completes it in a system: a form in a task list
Service taskAutomatically, in software: an API call, no human involved
Manual taskBy hand, outside any system (unpacking a box)
Script taskAutomatically, by a script the process engine runs
Business rule taskAs a decision: a rule set (e.g. a DMN table) is evaluated
Send taskBy sending a message to another participant
Receive taskBy waiting for a message to arrive
Lab · Which task type?1 of 6 · 0 correct

A clerk opens a form in the task list and approves an invoice.

Markers: the row along the bottom edge

Activity markers

Four markers on the bottom edge: sub-process (+), loop, parallel multi-instance (three vertical bars) and sequential multi-instance (three horizontal bars).

Handle claimRetry paymentReview documentInterview candidate

A sub-process (+) collapses detail onto another diagram. A loop repeats while a condition holds. Multi-instance runs once per item in a collection, three vertical bars for parallel, three horizontal for sequential.

After this module you can

  • Pick the right task type for a given piece of work
  • Use sub-processes and call activities to control detail
  • Read loop and multi-instance markers
← EventsSkip without completing