Runtime Activities

Custom Activity

Custom Activity

Updated: September 11th, 2020

Published: August 5th, 2020

Downloads: 2

Industry: cross-industry

Language compatibility: C#, Visual Basic

Tags: robot

Community Support

Runtime Activities

Custom Activity

Summary: 

A set of activities that expose informations on the job that is being ran by the executor, such as process name in Orchestrator, process version...

A set of activities that expose information on the job that is being ran. The activities can be found under System/Runtime in the Activities tab of Studio Pro. For StudioX they will appear in the Other category. The activities are as below:
  • 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.
The information extracted by these activities can be used for logging/job management purpose (e.g. log the job's initiator to segregate jobs ran from Studio and jobs ran from UiPath Assistant)

Details

Benefits

Gives access to metadata about the job that is being ran by UiPath's robot
Simple designer lets you easily access the relevant information by simply assigning a variable

Compatibility

Studio v20.4+
UiAutomation activities v20.6+ forGetInitiatedBy

Dependencies

None

Resources

- RuntimeActivities.pdf

Licensing

By clicking download you agree to the following license.