Workflow States Reference

Workflow states define building blocks of the workflow execution instructions. They define the control flow logic instructions on what the workflow is supposed to do. Serverless Workflow defines the following Workflow States:

Name
Description
Consumes events?
Produces events?
Executes actions?
Handles errors/retries?
Allows parallel execution?
Makes data-based transitions?
Can be workflow start state?
Can be workflow end state?

Define events that trigger action execution

yes

yes

yes

yes

yes

no

yes

yes

Execute one or more actions

no

yes

yes

yes

yes

no

yes

yes

Define data-based or event-based workflow transitions

no

yes

no

yes

no

yes

yes

no

Causes parallel execution of branches (set of states)

no

yes

no

yes

yes

no

yes

yes

Inject static data into state data

no

yes

no

yes

no

no

yes

yes

Parallel execution of states for each element of a data array

no

yes

no

yes

yes

no

yes

yes

Manual decision step. Executes a function and waits for callback event that indicates completion of the manual decision

yes

yes

yes

yes

no

no

yes

yes

User task step. Used to assign a user task to an individual or groups of users

yes

yes

yes

yes

no

no

yes

yes

Last updated