Setyenv · Docs
  • English
  • Spanish
  • Chinese
  • Japanese
  • Arabic
  • German
  • French
  • Hindi
  • Indonesian
  • Italian
  • Dutch
  • Portuguese
  • Russian
  • Turkish

Settings & configuration

WP-PFWorkflow configuration options. Most settings are managed through WordPress filters rather than a dedicated settings page, giving developers full programmatic control.

Core settings

SettingDefaultFilterDescription
Retention days30pfw_retention_daysDays to keep execution logs and timeline events. 0 = disable cleanup.
Failure notificationimmediatepfw_failure_notification_modeoff or immediate. Sends email to admin when a workflow fails.
Failure recipients{admin_email}pfw_failure_notification_recipientsOverride who receives failure emails. Array of email addresses.
Abandoned cart thresholdvariespfw_abandoned_cart_threshold_minutesMinutes before a cart is considered abandoned.

Cron configuration

Cron taskScheduleDescription
pfw_cron_tickEvery 5 minutesProcesses the execution queue (up to 25 jobs), fires scheduled workflows, dispatches abandoned carts, polls HTTP endpoints.
pfw_retention_dailyDailyDeletes logs and timeline events older than the retention window.
pfw_outbound_retry_sweepHourlyRetries failed outbound webhook deliveries. Max 5 attempts per request, then moves to DLQ.

The 5-minute interval is registered as pfw_every_five_minutes. If you need more frequent ticks, add a custom cron schedule via cron_schedules filter and hook into pfw_cron_tick.

Execution limits

LimitDefaultDescription
Max steps per execution250Configurable via filter pfw_max_execution_steps. Min 10, max 1000.
Queue batch size25Jobs processed per pfw_cron_tick.
Heartbeat rate limit1 per 30s per IPAdmin pixel heartbeat rate limit.

Database tables

All plugin data lives in WordPress tables prefixed with {prefix}pfw_:

TablePurpose
pfw_execution_logsNode-level execution log entries
pfw_execution_timelineTimeline events per execution
pfw_queueInternal execution queue (delays, retries, events)
pfw_remote_queueRemote command queue for wp-executor
pfw_remote_workersRemote worker registry
pfw_connected_accountsOAuth2 connected account credentials
pfw_webhook_sample_storeCaptured webhook samples
pfw_event_storeEvent store for idempotency/dedup
pfw_event_subscription_storeEvent subscriptions
pfw_audit_trailAudit trail of all actions
pfw_workflow_approvalsApproval gate records
pfw_execution_cancellationsExecution cancellation requests
pfw_outbound_request_logOutbound webhook log + DLQ
pfw_oauth_stateOAuth2 in-flight state rows
pfw_abandoned_cartWooCommerce abandoned cart snapshots