Uipath Marketplace

Create your first automation in just a few minutes.Try Studio Web

Get Process Info

Get Process Info

by Internal Labs

1

Activity

Downloads

895

back button
back button
carouselImage0
next button
next button

Summary

Summary

This custom activity exposes information about the internals of running job to the workflow (JobID, ProcessName, etc).

Overview

Overview

This custom activity exposes information about the running job to the workflow. 

You can get JobId, ProcessName, WorkflowFile and ProcessVersion at runtime.

This internal information is very useful for instance if you need your process to know its name at runtime, but you don't want to hardcode the process name in your workflow. This activity will gather that information dynamically.

Another interesting use of this activity is in determining how the automation is being triggered from within a library.

  • A process triggered from Assistant or from the Orchestrator (Unattended) will have a Environment. CurrentDirectory in %userprofile%\.nuget\packages. A process triggered from Studio/StudioX will have a CurrentDirectory somewhere else.
  • Whenever you are within in a library, the Environment.CurrentDirectory is the folder of the library. There is no way to know the location from which the process is running.
  • This custom activity's WorkflowFile will always point to the calling Process's workflow (not the Library's), hence giving away the source of the calling process .

Features

Features

You will not need to hardcode any values. All of this information is extracted at runtime.

This can be used, for instance, to store the process name in a QueueItem that is shared across multiple processes.

See more examples above.

Additional Information

Additional Information

Dependencies

UiPath.Activities.Api >= 20.4.0

Code Language

Visual Basic

Runtime

Windows Legacy (.Net Framework 4.6.1)

Publisher

Internal Labs

Visit publisher's page

License & Privacy

License Agreement

Privacy Terms

Technical

Version

1.0.0

Updated

Sep 29, 2021

Works with

Studio: 19.10 - 22.10

Certification

Silver Certified

Tags

Application

UiPath Studio

Support

UiPath Community Support

Similar Listings