Skip to content

AireFlow Terminology ​

Subjects ​

Subjects are the people or things that are being tracked through a workflow. For instance, a patient being admitted may require a workflow where a bed is assigned and initial observations recorded. Each task should be associated with the same Subject.

Workflow Definitions ​

Workflow definitions can be thought of as templates that describe the structure of a workflow you may want to run at some point in the future. Definitions can contain XPath and Liquid expressions that will be evaluated against any input given upon instantiation. [More details about mapping are available here]({% link _docs/mapping.md %})

Triggers ​

Triggers allow you to specify when a task should be created. All triggers are based on an event, and there are two main types of event:

  • Custom events - An event received via the api (such as a form submission, or any other external activity tha can trigger an api call)
  • Task events - Events triggered internally by the lifecycle of a task, such as the task being started, completed, or reassigned.

Tasks ​

Tasks can be manual, which represent a task that needs to be completed. Manual tasks have a status (New, In Progress, Completed) and can also optionally have state made up of key/value pairs.

The alternative to a manual task is a task that sends an HTTP request or email.