UiPath Documentation
studio
2023.10
false
Studio user guide

ST-PRR-004 - Hardcoded Delay Activity

ST-PRR-004 (Performance and Reusability): flags overuse of the Delay activity in workflows, which can degrade automation performance.

Rule ID: ST-PRR-004

Scope: Workflow

Description​

The rule checks whether The Delay Activity is overly used. This activity may affect performance, and thus its use should be limited.

Recommendation​

Consider using other mechanisms to wait for application states like use timeout/appear/exist instead of hardcoded delays. For more about synchronization, refer to the UI Automation page.

  • Description​
  • Recommendation​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated