I’m looking for an API call that triggers a workflow and returns only when the workflow execution has completed. I’m doing this because I want to get job status in a bash script.
Are there any endpoints that send a response only when the execution has finished?
If not, is there an API call that will do the same thing for a job (instead of a workflow), i.e. trigger the job and return only when it’s completed?
If none of these is possible, what’s the recommended way of running a workflow/job and fetching its status automatically?
I looked around, all the discussion threads are locked without any answers.