I have a python script which runs the alteryx workflows through API. I need an another python script which gets the status of the workflow such as Queued, Running, Success as we get status when we see in ALteryx gallery. Can anyone please help me on this.
Thanks in Advance
Solved! Go to Solution.
Hi @SriVindhya ,
Have you checked the GET /v1/jobs/{jobId}/ API call? Once the first python script has queued a workflow/job it will return a jobId. This can then be used as an argument the GET call, thus returning the current state.
https://gallery.alteryx.com/api-docs/#!/workflows.json/GetJobGET
Please do let me know if this helps.
Best,
Jagdeesh Narayanan
Thanks @jagdeeshn, It worked
Hi Jagdeesh,
I've a similar request where I'm trying to get the workflow run status based on jobID.
When I passed the JobID through GET/V1/jobs/{jobId}/ but couldn't get the results. Any possible cause of error you can think of here?
Thanks in advance!!
@SriVindhya Would you be willing to share the Python script to put a job in the queue? We're looking to do something similar.
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 |