Skip to main content

Overview

Error workflows run when another workflow fails with an application error. Failed workflow

Trigger payload

The failed run is passed into the error workflow under ${{ TRIGGER }}. Fields:
  • ${{ TRIGGER.message }}: the top-level failure message.
  • ${{ TRIGGER.orig_wf_id }}: the failed workflow ID.
  • ${{ TRIGGER.orig_wf_exec_id }}: the failed workflow execution ID.
  • ${{ TRIGGER.orig_wf_exec_url }}: the failed workflow execution URL, if available.
  • ${{ TRIGGER.orig_wf_title }}: the failed workflow title.
  • ${{ TRIGGER.trigger_type }}: the original trigger type.
  • ${{ TRIGGER.errors }}: structured action error details, if available.
Example payload:

Configure an error workflow

Set Error workflow in the workflow settings panel. Use a workflow ID or alias. Error workflow

Publish behavior

The workflow must be published for the committed error workflow setting to apply to published runs and schedules.