Thanks! Now I am struggling with calling one workflow from another. Is this possible? Both workflows
Thanks! Now I am struggling with calling one workflow from another. Is this possible? Both workflows are folders in the same monorepo. Let's say I want to call RunSnapWorkflow from RunEpisodeWorkflow. The things I have trouble with:
Should i bind RunSnapWorkflow as a service and use fetch interface?
- When I add the workflow_b binding to workflow_a wrangler.toml, i get a deploy error: "Your Worker depends on the following Workflows, which are not exported in your entrypoint file: RunSnapWorkflow. You should export these objects from your entrypoint, src/index.ts."
- If i copy the RunSnapWorkflow class definition to RunEpisodeWorkflow, i can deploy. but when i call RunSnapWorkflow.create() "I get an error: Error: workflow.not_found "
Should i bind RunSnapWorkflow as a service and use fetch interface?





