Skip to main content

Action Flow lifecycle model

Action Flow lifecycle events
Analytics are tracked when a flow instance starts, completes, and when each step is run.

Statuses

An Action Flow instance can have one of three statuses:

  • active
  • completed
  • failed

Active

An instance is created for each targeted user in an Action Flow. While an Action Flow instance is working through the steps (i.e. create a card, send a request, wait for an event) it is in an "active" state.

Completed

An Action Flow moves to the "complete" status once two criteria are met:

  1. There are no more possible steps for the Action Flow to take.
  2. All of the cards created by the Action Flow move to a "closed state" i.e. completed, dismissed, or cancelled.

Failed

An Action Flow moves to the "failed" status if any one of its steps fails (for example, a send-request step may receive an HTTP 400 response). Once an Action Flow is in the "failed" status it will not proceed to evaluate any further steps, even if they are in evaluation branches unrelated to the one that failed.