Workflows result

👋 Is it possible to get a result from creating a workflow? Something like this? let result = this.env.MYWORKFLOW.create({ params: { id }, }) Would save me from putting stuff in a DB
2 Replies
alex (he/him)
alex (he/him)•4w ago
Not sure if they mean it, just quessing. But potentially the final state, after the workflow finished running.
skip
skipOP•4w ago
If MYWORKFLOW resolves into JSON ... would be cool if I could return it If guess I'd like a workflow to wait for another workflow to finish, and also get access to the result let json = await step.do(async () => { let resultJSON = await this.env.MYWORKFLOW.create(); return resultJSON; }); (PS: I realise the create() will return details/status of the workflow ... in the above I am trying to get the result of the workflow after it's finished running)
Want results from more Discord servers?
Add your server