I want my robots to be able obtain, from Orchestrator, the JobID they are running. It’s the thing that appears at the top of the transaction item detail page in the Orchestrator queue. Looks like a GUID. I need a unique common element that all transactions executed by all robots participating in a job, that we can save to a SQL database and then query on to identify all items belonging to a specific job run at a specific date and time.
I’m finding a lot of topics asking for the same thing, along with a lot of replies to replies saying “Thanks but that only gives me the ProcessName. I need the JobID.” Along with some suggestions that this can be done via the Orchestrator API but no usable examples of how to do this.
Any suggestions appreciated.