Cloudflare Workflows

cloudflareWorkflow enginecloudflare-workflows

Durable multi-step execution on Workers with per-step persistence and automatic retries.

Provider
cloudflare
Category
Compute
Properties · 3 set by this component
propertytypevaluesrequiredkind defaultthis component
compensationboolean—nofalseinherited
defaultStepRetries · component propertyinteger—no5inherited
durableboolean—notrue▸ true
humanReviewboolean—nofalseinherited
managedboolean—nofalse▸ true
maxStepsPerInstance · component propertyinteger—no10000inherited
patternenumsaga | tcc | two-phase-commit | dagnodag▸ dag
retryBackoff · component propertyenumconstant | linear | exponentialnoexponentialinherited
retryDelaySeconds · component propertyinteger—no10inherited
stateRetentionDays · component propertyinteger—no30inherited
stepsIdempotentboolean—nofalseinherited
Rules that apply · 1

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

stateful-node-without-zone-redundancy

A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.

  • — all of these hold:
  • — the node's `stateless` is false
  • — the node sits inside exactly 1 availability-zone group
  • — this does not hold:
  • — the node sits inside at least one cell group
Use it in a design
nodes:
  - { id: "workflows", component: "cloudflare-workflows" }
Other Workflow engine products · 44
CloudFlowalibaba-cloudflowalibabacloudworkflow-engineCloudOps Orchestration Servicealibaba-oosalibabacloudworkflow-engineAmazon Augmented AI (A2I)aws-augmented-aiawsworkflow-engineAmazon Managed Workflows for Apache Airflowaws-mwaaawsworkflow-engineAWS Systems Manager Incident Manager and Change Manageraws-ssm-incident-and-change-managerawsworkflow-engineAWS Step Functionsaws-step-functionsawsworkflow-engineAmazon Simple Workflow Serviceaws-swfawsworkflow-engineAzure Durable Functionsazure-durable-functionsazureworkflow-engineAzure Logic Appsazure-logic-appsazureworkflow-engineApache Airflowairflowworkflow-engineArgo Workflowsargo-workflowsworkflow-engineAstronomer Astroastronomerworkflow-engineCadencecadenceworkflow-engineCamunda 8camundaworkflow-engineConductorconductorworkflow-engineDagsterdagsterworkflow-engineDigdagdigdagworkflow-engineFlowableflowableworkflow-engineInngestinngestworkflow-enginejBPMjbpmworkflow-engineKestrakestraworkflow-engineLuigiluigiworkflow-enginen8nn8nworkflow-engineNode-REDnode-redworkflow-enginePrefectprefectworkflow-enginePrefect Cloudprefect-cloudworkflow-engineRestaterestateworkflow-engineTemporaltemporalworkflow-engineTemporal Cloudtemporal-cloudworkflow-engineTrigger.devtrigger-devworkflow-engineWindmillwindmillworkflow-engineWorkatoworkatoworkflow-engineGeneric workflow engineworkflow-engineworkflow-engineZapierzapierworkflow-engineApplication Integrationgoogle-application-integrationgcpworkflow-engineCloud Composer (Managed Service for Apache Airflow)google-cloud-composergcpworkflow-engineWorkflowsgoogle-cloud-workflowsgcpworkflow-engineOrchestration Pipelinesgoogle-orchestration-pipelinesgcpworkflow-engineIBM App Connectibm-app-connectibmworkflow-engineOracle Integration 3oci-integrationociworkflow-engine
and 4 more → Workflow engine page
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Cloudflare Workflows: durable multi-step execution on Workers, each step persisted and retried.
# "Workflows - Sleeping and retrying" gives the per-step default of 5 retries, 10 s delay and
# exponential backoff; "Workflows - Limits" gives 30 days of instance state and 10,000 steps on paid.
schemaVersion: "1"
type: "component"
id: "cloudflare-workflows"
kind: "workflow-engine"
provider: "cloudflare"
docs: "https://developers.cloudflare.com/workflows/build/sleeping-and-retrying/"
defaults:
  managed: true
  durable: true
  pattern: "dag"
properties:
  defaultStepRetries:
    type: "integer"
    default: 5
  retryDelaySeconds:
    type: "integer"
    default: 10
  retryBackoff:
    type: "enum"
    values: ["constant", "linear", "exponential"]
    default: "exponential"
  stateRetentionDays:
    type: "integer"
    default: 30
  maxStepsPerInstance:
    type: "integer"
    default: 10000

The same page as markdown, for an agent: /catalogue/components/cloudflare-workflows.md