UiPath Documentation
studio
latest
false
Studio user guide

ST-USG-009 - Unused Variables

ST-USG-009 Workflow Analyzer rule that identifies variables defined in the workflow or project that are never used during execution.

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 that are not used. Workflows should only have variables that are necessary for its execution. Unused variables 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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated