Tasks represent the basic building blocks in BPMN and define actions performed during a process. There are several types of tasks, each suited for specific scenarios:
Generic Task
Definition: A task that can represent any action to be performed.
Characteristics: Used for undefined or flexible process actions.
Example: Updating customer records.
Send Task
Definition: A task designed to send messages.
Characteristics: Often used to communicate with external systems or participants.
Example: Sending an order confirmation email.
Receive Task
Definition: A task that waits for a message from an external source.
Characteristics: Ensures process continuation only after receiving required information.
Example: Receiving payment authorization.
Also see message events vs message tasks
User Task
Definition: Tasks performed by users, typically through system interfaces like input forms.
Characteristics: Requires user interaction, often facilitated through a user interface.
Example: Filling out an application form.
Manual Task
Definition: Non-automated tasks performed without system interaction.
Characteristics: Carried out physically or without IT involvement.
Example: Packaging items manually.
Business Rule Task
Definition: Automated tasks that apply predefined rules, often using Decision Model and Notation (DMN).
Characteristics: Executes decision logic based on business rules.
Example: Approving loans based on credit score.
Service Task
Definition: Automated tasks that execute services, usually web-based.
Characteristics: Integrates external or internal web services.
Example: Retrieving customer data from an API.
Script Task
Definition: Tasks where a script executes directly without user intervention.
Characteristics: Automated, with no manual input required during execution.
Example: Calculating discounts based on purchase history.
See Service vs Script Task
Example
At OfficeCo, getting your money back for that last-minute train ticket is almost as satisfying as the trip itself. It all kicks off when an employee fills out a quick online form, receipts and all. The manager gives it a thumbs up (or a polite eyebrow raise), and then the system jumps in to check if the budget fairy says yes. Once approved, a cheerful confirmation email lands in the inbox, and the finance team rolls up their sleeves to send the cash. The system quietly logs it all, ready for the next expense adventure.