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
WORKER B wrangler.toml
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#L7714 Replies
Both workflows work just fine if invoked on their own. It's when I try to configure one to be called from the other where I run into issues.
is an option for limiting workflow concurrency on the roadmap? I would love to move a bunch of stuff over to workflows, but I don't want to overwhelm some small external apis i call, which is what I currently use queues for
Hey folks, we continue to see error logs for our workflow that just say "run". if I filter by request ID, I can see that the workflow successfully executed other steps, so I don't know where the "run" error log is coming from.


it's just how the workflow invocations show
https://discord.com/channels/595317990191398933/1303411588929294358/1303488051917492318
Are they supposed to be shown as errors?
They're not supposed to, the workflow team as in that msg wants to fix it, but they currently all do
same as above ^, as said in the thread "for now I'd just look at the workflows page to see how your instances are doing."
Hi, is it possible to set the retry steps after a workflow fails? For example one of my workflow steps calls a third party api where I don't know the ratelimits. I want to fail the step if I'm ratelimited, but then retry at a specific date (the api gives us this date if we're ratelimited).
I can think of some ideas like
but I'm wondering if there's anything better?
maybe a DurableObject is better in this case
Call
step.sleep
within the step when you get a rate limiting error? with the argument as the future Date?it never even crossed my mind to have nested steps lol
this changes everything
Workflows: it's just code 😉
I have a workflow run that appears to be stuck in "RUNNING" state. Here's what the dashboard shows for the run.
Any idea on what might be up? As you can see there's both a timeout and retry for this step, both of which appear to be ignored.

Timeout is per step... with
20160
total retries before it will terminally fail. 2 minute
is not the total time for all retries.
And by "stuck" - have you attempted to call .stop
on the instance? What error do you get (if any) when you call terminate
in the dash?wouldn't the dashboard show if there were other retries though? it looked like that one step's first try had been running for at least an hour based on that timestamp
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View