studio
2020.10
false
UiPath logo, featuring letters U and I in white
OUT OF SUPPORT
Studio User Guide
Last updated Dec 20, 2023

ST-USG-009 - Unused Variables

Rule ID: ST-USG-009

Scope: Workflow

Description

The rule checks whether there are variables defined in the file or project, but unused.

Recommendation

Remove variables and arguments that are not used. Workflows should only have variables and arguments that are necessary for its execution. Unused variables and arguments make the project more difficult to understand and should be removed. For removing all unused variables, use the button "Remove Unused Variables" in the ribbon, as shown here.



  • Description
  • Recommendation

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.