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 uner 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.
Thanks
Harikrishna