Task

Task represents a unit of work in a process. It's like an item on your to-do list that needs to be done to complete the whole process. Think of it as a step in a recipe you're following.

Regular task can be changed:

  • User Task: This type of task needs to be manually done by a person. It's like an item on your to-do list that says "Call the doctor to schedule an appointment."

  • Service Task: This task is automatically performed by a system or service. It's like your coffee maker automatically brewing coffee at a set time.

  • Script Task: This task is performed by a script or automated code. It's like a sprinkler system that waters your garden at a set time each day.

  • Send Task: This task sends a message to another process or participant. It's like sending a letter or an email.

  • Receive Task: This task waits for a message from another process or participant. It's like waiting for a letter or an email to arrive.

Example

Let's imagine you're planning a birthday party. The whole party planning is your process. Within this process, you might have tasks such as "Send Invitations," "Buy Cake," and "Decorate Room." Each of these is a task in BPMN:

  • "Send Invitations" might be a Send Task if you're emailing them, or a User Task if you're hand-delivering them.

  • "Buy Cake" is a User Task, as you need to go to the store or order the cake yourself.

  • "Decorate Room" is also a User Task that you'll need to do yourself.

In each case, the task represents a piece of work that needs to be done to move the process (the party planning) forward.

Last updated