Connect HomeMarketplaceComponentsAlerts for Long Running Processes/Jobs

Alerts for Long Running Processes/Jobs

Snippet

Snippet

Updated: October 11th, 2020

Published: February 20th, 2020

Downloads: 25

Industry: cross-industry

Language compatibility: Visual Basic

Community Support

Alerts for Long Running Processes/Jobs

Snippet

Summary: 

Sends email to users about processes or jobs running for more than a certain threshold of time in Orchestrator

The snippet uses UiPath Orchestrator API to pull jobs which were running for more than a certain threshold of time in UiPath Orchestrator along with the last log message, how long ago it was logged, RobotName and job StartTime.

The assets to be created are:
  1. Threshold Time - Int Type (in hours)
  2. Tenant Name
  3. User credentials with UiPath Orchestrator access
  4. SMTP credentials, SMTP Host and SMTP Port

NOTE:
In case you do not want to use SMTP to send emails, please replace the code with send Outlook mail activity.

Details

Benefits

Useful for RPA Support and Operations Team as they do not need to check if any process is stuck or not. They will be notified via email about long running jobs in Uipath Orchestrator along with last log message and time elapsed since the last log message, Robot Name and Job Start Time (Local Time).

Compatibility

2018.2 and above

Dependencies

  "dependencies": {
    "UiPath.Excel.Activities": "[2.6.2]",
    "UiPath.Mail.Activities": "[1.5.0]",
    "UiPath.System.Activities": "[18.4.2]",
    "UiPath.UIAutomation.Activities": "[19.1.0]",
    "UiPath.Word.Activities": "[1.3.1]",
    "UiPath.WebAPI.Activities": "[1.4.4]"
  }

Licensing

By clicking download you agree to the following license.