From within the custom activity, how can I get the Orchestrator and machine which the process is connected to? The same information we have in the UiPath Robot settings?
Have you found the answer for this? How to get the robot ID?
Check this out.
I will try later, but sounds like it`s gonna work.
Yet, that looks to work for the purpose of getting the Robot ID through UiPath. For my goal which is to get the environment which Orchestrator is connected without the need of passing parameters to the custom activity (RobotID or whatever), I`m thinking about reading the UiPath.settings file and then extract the information from NuGetServerURL.