Hi everyone ,
I am little new in the Alteryx. I have a scenario where I need to find a workflow job status using Gallery API and if it is not in Queued status then I need to run the workflow.
I am using end point GET /v1/workflows/{appId}/jobs/ to find the list of jobs by passing workflow id as appId. From the results I am taking the latest Job id and its status. if status is not in Queued status then I am using POST /v1/workflows/{appId}/jobs/ to run the workflow.
Here my challenge are below
Challenge 1.
If previously workflow ran (Latest job) by me then I am getting the results and I am able to run workflow
if previously workflow ran (Latest job) by scheduler or other team member then I am not seeing that results .
In other words I can see results which are there in My Jobs and can't see results under Jobs Shared with me tab using Gallery API Calls
Challenge 2:
It is not a challenge. Is there any other way where I can get the Latest Job status for a given Workflow ID not the Job ID.
Challenge 3:
I see an option under Admin V1 tab there are end points. and GET /admin/v1/workflows/jobs/ end point is giving me the desired results but I need to be a curator for this (Tested with my Admin and saw the results). I should be able to get all latest Job status even though I didn't ran it and as I am not a curator. How can we achieve this.
Thanks
Harikrishna
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 |