get workflow status on frontend
what's the best way to query a workflow's status / steps from the frontend if you just have the run id?
5 Replies
Hi @Amos ! You can use
const result = await workflow.runExecutionResult(runId);
question was specifically on frontend.
ok guess I can add a backend route to poll this, but was hoping that it was somehow built into the client sdk
This is available on the client side 😉
ok but still, would be much nicer to e.g. have a hook that does the polling for you