You are not looking at the latest version of the documentation. Check it out there.
You are looking at draft pre-release documentation for the next release of Flows for APEX. Product features documented here may not be released or may have different behavior to that documented here. You should not make any purchase decisions based on this draft documentation..

BPMN Activities

In BPMN, activities represent the core units of work in a process. They are the actions that must be performed to move the process forward β€” whether by a user, a system, or another process.

Activities are what you’re trying to get done in a business process, and they come in different forms to suit different types of work.

Tasks

A Task is the simplest kind of activity β€” a single unit of work. It might represent a user filling out a form, a system sending an email, or a service making an API call.

β†’ Learn more about Tasks

Subprocesses

A Subprocess is a collection of steps grouped into a reusable process block. It can be used to organize complex workflows or isolate logic that’s used in multiple places.

β†’ Learn more about Subprocesses

Call Activities

A Call Activity is a special kind of activity that calls another reusable process β€” either from within the same model or from another one. This is useful for creating modular, maintainable process architectures.

β†’ Learn more about Call Activities


Activity Markings

Multi-Instance Activities

Sometimes a task or subprocess needs to be repeated β€” for example, sending an approval request to multiple users or processing a list of items, where the task or subprocess should be repeated once for each item in the list. BPMN handles this using multi-instance activities, which let you loop over a collection or repeat an activity multiple times, sequentially or in parallel.

β†’ Learn more about iterations and loops