Performance Desktop Triggers
Overview
Desktop triggers allow you to automatically respond to specific events on your local machine, removing the need to monitor for these events and performing a set of actions or starting an automation yourself.
We’re excited to bring you the new Performance Desktop Triggers which allow you to monitor resource consumption on your machine and respond to performance issues when they arise. Using performance triggers, you can prompt the user to close resource-intensive applications or send the CoE admin a performance report to proactively improve machine performance.
Whether using performance triggers in attended automations, as a background process, or monitoring your unattended machines, performance triggers will enable you to address performance issues before they become a problem and will help lead to higher rates of success among your automations.
How does it work?
Performance desktop triggers will be available as a new activity in the UiPath.DesktopTriggers .Activities v1.0.0-preview package via the Official package feed (prerelease).
Within the activity you can designate which resource to monitor:
- CPU
- memory
- disk
(coming soon)
- network
(coming soon)
As well as the threshold and duration to monitor before executing the trigger event. You will also be able to monitor resource consumption for the entire system or a single process. This is useful when you’re monitoring resource-intensive applications such as Chrome or Zoom.
The performance trigger will need to be used within a Trigger Scope activity and information related to the trigger event will be available via the Trigger Scope’s “args” property.
- Computer ID
- Monitoring start time
- Elapsed time from monitor start to trigger event
- Total system resource consumption
- Top 10 processes and their resource consumption
Only user-accessible processes are provided
Using this information, you can determine the most resource intensive user-accessible processes and make decisions such as closing unnecessary applications, notifying CoE/IT admins, or pausing/stopping processes.
Performance Desktop Triggers - Activity Guide.pdf (529.9 KB)
Prerequisites
- Project compatibility must be set to “Windows”
- Install the UiPath.DesktopTriggers.Activities and UiPath.WebAPI.Activities packages
- Performance triggers must be used inside a Trigger Scope activity
Sample workflows
Performance Trigger - Attended Process.zip (4.6 KB)
Performance Trigger - Background Process.zip (4.3 KB)
Share your feedback
Feel free to share your thoughts and let us know how we can improve!