Alteryx Server

Find answers, ask questions, and share expertise about Alteryx Server.
SOLVED

How to Get the Job Run ID within the Workflow

Highlighted
7 - Meteor

Hi,

 

I am currently invoking an alteryx workflow on the Gallery using the 'API POST' method. The return payload contains a job id(different from the app id) which i assume is the 'current instance ID' for that particular application.

 

I now am looking to get this same JOB Instance ID within the workflow itself. i.e the id for the current run in runtime. I need this as a primary key  to be able to make another API call to another application.Is there a way to retrieve that?

 

 

Appreciate all the help.

 

Best,

Jagdeesh Narayanan

Highlighted
Alteryx
Alteryx

@jagdeeshn 

 


Mongo creates the jobid.  The POST sends a request to create a new document in AS_Queue and then the documentId of that is the jobId.
James Dolan-Hall | Customer Support Engineer
support@alteryx.com | community.alteryx.com