Skip to main content

Workflow

An Abstra Workflow orchestrates a sequence of Stages to model and execute business processes. Each Stage contains Python code defining a specific step in the process.

Workflows can run fully automatically or include points for user interaction.

Workflow Example

Stages: The Building Blocks

Workflows are composed of individual Stages, visually represented as boxes in the editor. Each stage performs a specific action and must be one of the following types:

  • Form: manually triggered stages with a user-friendly interface. Add them to a Workflow whenever user input is needed in a process.
  • Job: scheduled stages that execute periodically.
  • Hook: webhooks, stages triggered by HTTP requests sent to their endpoint.
  • Tasklet: a plain Python script, whose trigger is a task sent by previous stages in the Workflow.