Skip to content

Task Statuses ​

IMPORTANT

The old task status restrictions will be replaced by Transition Sets in version 2.38.0

Task instances all have a Status, and changing the status of a task causes AireFlow to emit an event. The status is intended to represent the real world state of a task in an easy to understand way.

There is an API available at /Api/TaskStatus/Statuses to fetch the supported task statuses, and the list may be expanded over time.

Status Validation ​

Validation is applied when a task status is changed, to prevent tasks being moved to illogical statuses (for example, moving from Complete to New doesn't make sense).

Manual Task Transitions ​

Manual task status transitions diagram

Automatic Task Transitions (Email, Http, AireFrame - Create Form, Publish Event) ​

Automatic task status transitions diagram

Form Task Transitions ​

Form task status transitions diagram

There is also an API available at /Api/TaskStatus/v2/Transitions to see which task status transitions can be performed by making a PATCH request to /Api/Tasks/{taskId}. The previous API /Api/TaskStatus/Transitions can still be accessed which shows the legacy transition states but this is now obsolete and should be updated to the v2 endpoint.