studio
2024.10
true
UiPath logo, featuring letters U and I in white
Studio User Guide
Last updated Nov 18, 2024

ST-MRD-009 - Deeply Nested Activities

Rule ID: ST-MRD-009

Scope: Workflow

Description

The rule checks whether nested activities are present in the workflow.

Recommendation

It is usually more difficult to see and understand workflows that have too many deeply nested activities, so it is recommended to avoid deeply nested structures. Instead, it might be better to separate the workflow into smaller ones and use the Invoke Workflow File activity to call them. Consider dividing the workflow into smaller components to avoid deeply nested structures.

Modifying the Rule

In the Project Settings window, select the Workflow Analyzer tab. Find and select the rule, as in the image below:



The default Threshold value is 7. This means that if the Workflow Analyzer finds at least seven nested activities, then a message is logged in the Error List.
Modify the threshold value to 3 and the rule logs an error message only if the number of nested activities surpasses the threshold, in this case 3.

Reset to Default Value

The default value for ST-MRD-009 is 7.

To reset the value to default right-click the rule in the Project Settings window, and then click Reset to default.



  • Description
  • Recommendation
  • Modifying the Rule
  • Reset to Default Value

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.