Overview
The Execution Timeout & Watchdog feature automatically detects and handles workflow executions that exceed their configured deadline. A background watchdog (pg_cron) periodically scans for overdue executions and applies the configured timeout behavior.Configuration
Global Settings (FW Settings Page)
Navigate to Settings → Forms & Workflow → Timeouts tab to configure:Per-Workflow Settings (Workflow Editor)
Each workflow definition can override timeout settings via the Timeout Configuration panel in the workflow editor:Timeout Behaviors
Deadline Extension
Administrators withfw.workflows.admin permission can extend a running execution’s deadline:
- Open the execution detail dialog
- Click the Extend button next to the deadline indicator
- Enter the extension duration (1–1440 minutes) and a reason (minimum 5 characters)
- Click Extend Deadline
Monitoring
Execution Detail View
The deadline indicator shows real-time status:Notifications (PF-10)
The watchdog sends two types of notifications:- Timeout Warning — Sent once when an execution reaches the warning threshold
- Execution Timed Out — Sent when an execution is terminated due to timeout
pg_cron Setup
The watchdog requires a pg_cron job to be registered. This is not included in migrations (contains environment-specific values). Register via the SQL Editor:<PROJECT_REF> and <ANON_KEY> with your project values.