#:schema node_modules/wrangler/config-schema.json
name = "workflows-starter"
main = "src/workflows/index.ts"
compatibility_date = "2024-10-22"
[[workflows]]
# name of your workflow
name = "workflows-starter"
# binding name env.MYWORKFLOW
binding = "MY_WORKFLOW"
# service = "workflows-starter" # Add this line - should match the name
# this is class that extends the Workflow class in src/index.ts
class_name = "MyWorkflow"
#:schema node_modules/wrangler/config-schema.json
name = "workflows-starter"
main = "src/workflows/index.ts"
compatibility_date = "2024-10-22"
[[workflows]]
# name of your workflow
name = "workflows-starter"
# binding name env.MYWORKFLOW
binding = "MY_WORKFLOW"
# service = "workflows-starter" # Add this line - should match the name
# this is class that extends the Workflow class in src/index.ts
class_name = "MyWorkflow"