Skip to content
Proud to collaborate with Microsoft for Startups

data.cloudflare.queue.persist ​

Persist a CloudflareQueue row (create or restore)

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-cloudflare
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidYes——
cf_queue_refstringYes——
queue_namestringYes——
consumer_worker_namestringNo——
consumer_refstringNo——
dlq_queue_namestringNo——
settingsdictNo——
provider_metadatadictNo——
statusstringNo——
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
cloudflare_queue_uuiduuidYes——
queue_namestringYes——
createdbooleanYes——
restoredbooleanYes——
persisted_atstringYes——
failure_reasonstringNo—Engine-stamped human-readable failure reason
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerintegerNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name
failure_typestringNo—Engine-stamped failure category (atomic path)
failed_actionstringNo—Engine-stamped action method that raised (atomic path)

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completePersist queue
completedNoYesYes—Persisted
failedNoYesNo—Persist failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "data.cloudflare.queue.persist",
  "initial_data": {
    "organization_uuid": "value",
    "cloud_connection_uuid": "value",
    "cf_queue_ref": "value",
    "queue_name": "value"
  }
}