Operate workflows
For authoring workflows, see Develop workflows.
Workflow execution insights
The Workflows page in the console lists every workflow execution across your project with status (running, completed, failed, paused, stalled), App ID, workflow name, version, and duration. Click into an execution to see:
- Execution graph — a visual DAG of activities and sub-orchestrations.
- History — step-level event log with inputs, outputs, and timestamps.
- Custom status — workflow-reported status strings for progress tracking.
- Error resolution — one-click rerun, resume, or purge of failed or stalled executions.
- Event raising — send an event to a waiting workflow from the UI.
The workflow CLI mirrors these operations so you can wire replay, resume, and purge into your own tooling:
diagrid workflow list --app-id my-workflow-app --status running
diagrid workflow get --app-id my-workflow-app --instance-id <id>
diagrid workflow pause --app-id my-workflow-app --instance-id <id>
diagrid workflow resume --app-id my-workflow-app --instance-id <id>
diagrid workflow rerun --app-id my-workflow-app --instance-id <id>
diagrid workflow terminate --app-id my-workflow-app --instance-id <id>
diagrid workflow raise-event --app-id my-workflow-app --instance-id <id> \
--event-name approval --event-data '{"approved": true}'
diagrid workflow purge --app-id my-workflow-app --instance-id <id>
Each subcommand is documented individually: list, get, pause, resume, rerun, terminate, raise-event, and purge.