Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Model

The execution of the workflow engine depends on the workflow model. An acts workflow model is a standardized YAML file.

Model Structure

A complete workflow model consists of the following parts:

id: my_model
name: Model Name

# Default variables
vars:
  - name: value
    value: 0

# Input schema (JSON Schema)
inputs:
  type: object
  properties:
    value:
      type: number

# Output schema (JSON Schema)
outputs:
  type: object
  properties:
    data:
      type: object

# Start triggers
on:
  - id: event1
    kind: manual

# Execution options
options:
  exposes:
    - name: output_key

# Step list
steps:
  - id: step1
    uses: acts.core.irq

Core Concepts

ConceptDescription
StepThe basic execution unit of a workflow, specifying a package via uses
BranchConditional branching, determining execution paths via if condition
ActThe actual action execution body, specifying a package via uses
SetupGlobal workflow configuration including variables, events, I/O
PackageReusable functional modules in three categories: core, transform, event