UiPath.Executor.ExecutorManager.Instance.Id throws error after updating UIPath to Version 2019.6.0

Studio/Robot version: 2019.6.0

Screenshot: Shown below

Hi Everybody,

I am trying to read Job Id of my bot.
For that, I had loaded the DLL: UiPath.Executor.Core.dll using Nuget Package
But In UIPath version 2019.6.0, It shows below-mentioned error in Screenshot:

Please provide the solution to resolve this or an alternative to get Bot’s unique JobID.

Thanks in Advance.

Hello,

Could you find any solution for this problem? :face_with_monocle:

No.
I am reading the system “UUID” using VB, assuming that only one bot will run in a single server.

I know this is an old thread, but I figured I would add a current solution. Runtime Activities will help solve this problem.

The following are available:

  • GetProcessName: Retrieves the name of the process. If running from Studio, this will be the project name. If running via Orchestrator, this will get the process name as defined in Orchestrator.

  • GetProcessVersion: Retrieves the version of the process (as defined in the process’s project.json file)

  • GetJobID: Retrieves the unique ID of the process. This job ID also appears in the execution logs.

  • GetInitiatedBy: Retrieves the means by which the process has been started. Can be StudioPro, StudioX, Assistant, Orchestrator

  • GetWorkflowFilePath: Retrieves the path of the file that is currently executed.