If I try and use cross-script calls like in the documentation... WORKER A wrangler.toml ``` [[workf

If I try and use cross-script calls like in the documentation... WORKER A wrangler.toml
[[workflows]]
name = "workflow-a"
binding = "WORKFLOW_A"
class_name = "WorkflowA"

[[workflows]]
name = "workflow-b"
binding = "WORKFLOW_B"
class_name = "WorkflowB"
script_name = "workflow-b"
[[workflows]]
name = "workflow-a"
binding = "WORKFLOW_A"
class_name = "WorkflowA"

[[workflows]]
name = "workflow-b"
binding = "WORKFLOW_B"
class_name = "WorkflowB"
script_name = "workflow-b"
WORKER B wrangler.toml
[[workflows]]
name = "workflow-b"
binding = "WORKFLOW_B"
class_name = "WorkflowB"
[[workflows]]
name = "workflow-b"
binding = "WORKFLOW_B"
class_name = "WorkflowB"
I get the following error (like other users are reporting)... ✘ [ERROR] Worker "workflows:workflow-b"'s binding "USER_WORKFLOW" refers to a service "core:user:workflow-b", but no such service is defined. It's worth noting that USER_WORKFLOW is not a string that exists in my codebase, at all. NOTE: Found a reference to USER_WORKFLOW in the workers-sdk codebase: https://github.com/cloudflare/workers-sdk/blob/99f802591e65a84f509a03a4071030eb0c6c11ba/packages/miniflare/src/plugins/workflows/index.ts#L77
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?