Studio
2021.10
false
Banner background image
Studio User Guide
Last updated Apr 3, 2024

ST-NMG-008 - Variable Length Exceeded

Rule ID: ST-NMG-006

Scope: Activity

Description

This rule checks whether the name of each variable defined in the workflow exceeds a certain number of characters.

Recommendation

The names of variables should not be longer than a set number characters. It is recommended to abbreviate longer words, as they make it difficult to monitor variables during debugging, especially if the first part of the name is the same.

Modifying the Rule

In the Project Settings window, select the Workflow Analyzer tab:



After selecting the Variable Length Exceeded rule, add a custom number of characters in the Length field.

If we add the number 10, then the rule checks if the names of variables defined in the file or project exceed 10 characters.

Reset to Default Value

The default value for ST-NMG-008 is 30.

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.