Access UiPath Properties (JobId, Release) from a Custom Activity


I’m writing a custom activity where I want to access things like JobId and Release Key. Is it possible to access JobId, ReleaseKey in Visual Studio? Or can I access them in the workflow and pass them as an InArgument to the custom activity?


I found a solution for the jobId:
When use add UiPath.Executor.dll as a reference you can access UiPath.Executor.ExecutorManager.Instance.Id which includes the current JobId

1 Like

How to get UiPath.Executor.dll for UiPath.Executor.ExecutorManager.Instance.Id. I don’t see this in Import section as well.

@Priyam,Is this resolved?got same issue.

@navulurin … not resolved yet


sorry for the long delay. I had to add the reference manually via the “Browse…”-Button. It was located at C:\Program Files (x86)\UiPath Platform\UiPath.Executor.dll. But it could be possible that it’s only available when installing the UiPath Platform (as I did) and not in the community edition.
You don’t need to include the .dll in your Package as it will be present when executing the robot.

Edit: In Community it should be at AppData\Local\UiPath\app-<appversion>\UiPath.Executor.dll

Where exactly is the “Browse” button? I see the .dll file in file explorer, but I’m still not sure how to access it in studio?

I’d like to be able to access the ‘processName’ that is referenced in the standard uipath logs. For certain processes in the future I’d also like to be able to access the ‘jobid’ as well. I’m a little surprised this isn’t accessible in Studio natively since it’s already built in to the logs

In your project you open the “Add Reference…” dialog. There you can find the “Browse…” button. When UiPath.Executor.dll is added as a reference you can Access UiPath.Executor.ExecutorManager.Instance.Id.

1 Like

With out adding dll,Can you try with Invoke Code activity by placing below code following code


1 Like

This worked great to get the GUID, thank you!

Is there a list of all methods available in UiPath.Executor.ExecutorManager.Instance

I tried processname, name, and process, but got nothing.

Where in UiPath Studio can i find this “Reference Manager” dialog?
Either im blind or its not there.

I also need to access “JobId” and other properties.


You won’t find it in UiPath Studio. It’s only available in Visual Studio, when developing custom activities.
When a custom activity is not an option for you, you can use the Invoke Code Activity as @navulurin mentioned above.

It’s ok in 2018.1.1 version. but is does not work in 2018.2.3 version.
You can findthat it changed from a dll file to exe.(UiPath.Executor.exe)
Has any solution?

1 Like

I’m also looking for this solution in the newer version of Studio. Any findings?

This works perfectly fine when robo is executed form UiPath studio.
But when job is triggered from orchestrator it created different jobID compared to orchestrator jobID.
Any idea how to have same jobID as shown in orchestrator ?