Is it possible to trigger a workflow-B from within a workflow-A?
Is it possible to trigger a workflow-B from within a workflow-A?
toml like this:workflow B needs to have a binding in workflow A, where does that binding go? Just another [[workflows]] entry? If so, that seems to fail as it would expect the class_name reference to exist in workflow A's index.
✘ [ERROR] Worker "workflows:workflow-b"'s binding "USER_WORKFLOW" refers to a service "core:user:workflow-b", but no such service is defined.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

step.sleep within the step when you get a rate limiting error? with the argument as the future Date?
20160 total retries before it will terminally fail. 2 minute is not the total time for all retries..stop on the instance? What error do you get (if any) when you call terminate in the dash?
wrangler -c ... -c ... locallyRunning state. When I queried for the events for this instanceId via the GraphQL analytics API - there was only 1 ATTEMPT_START for that ID, I do not see that any retries were executed. Terminated, the step status still says Running. See screenshot. Perhaps I've misconfigured something? 
next_cursor so that you know the next page to go and fetch. My question:
[[workflows]]
name = "workflow-a"
binding = "WORKFLOW_A"
class_name = "WorkflowA"
[[workflows]]
name = "workflow-b"
binding = "WORKFLOW_B"
class_name = "WorkflowB"
script_name = "workflow-b"201602 minute.stopterminatewrangler -c ... -c ...RunningRunningTerminated[ERROR] Uncaught (in promise) DOMException const file = await step.do("get file from R2", async () => {
return this.env.STATEMENT_BUCKET.get(fileIdentifier)
});next_cursorfor (const param of params) {
while (true) {
const response = await step.do('<random name>', { /* options to not retry */ }, ...)
if (response.status === 429) {
await step.sleep('ratelimit expires', Number(response.headers.get('X-RateLimit-Reset')) * 1000)
} else {
break
}
}
}let next_cursor;
do {
next_cursor = await step( ...call API and do stuff ...);
} while (next_cursor !== null)