Skip to main content

Basic Usage

Workflows are declarative — the class body is empty. All configuration goes in the decorator metadata.

Signature

Configuration Options

Required Properties

Optional Properties

WorkflowStep

WorkflowWebhookConfig

Examples

Linear Workflow

Parallel Workflow

Conditional Workflow

A step whose condition returns false is treated as skipped and satisfies downstream dependsOn dependencies. This means steps that depend on a skipped step will still run.

Function-Based Alternative

WorkflowRegistry

Workflow registry API

Workflows Guide

Workflows documentation

@Job

Define jobs

DirectClient

Programmatic execution