SOLVED
How to Get the Job Run ID within the Workflow
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
12 - Quasar
‎06-01-2020
12:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
Solved! Go to Solution.
4 REPLIES 4
JamesHa
Alteryx Alumni (Retired)
‎06-03-2020
10:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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 | Principal Technical Account Manager
support@alteryx.com | community.alteryx.com
support@alteryx.com | community.alteryx.com
Manohar053299
6 - Meteoroid
‎12-01-2020
04:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Is there any function or tool than can give Job ID back within workflow?
francis_oy
8 - Asteroid
‎05-25-2021
07:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I need this function too! Please share if you get any luck or any workaround. Now I have to use gallery Job API to get the JobID and save it in another table.
epbueno
5 - Atom
‎10-20-2021
03:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi, did you get any solution for this situation? I need something like that.
