UiPath Documentation
studio
latest
false
Studio user guide

ST-MRD-017 - Incomplete If

ST-MRD-017 Workflow Analyzer rule that checks for If activities that are empty or contain logic only in the Else branch.

Rule ID: ST-MRD-017

Scope: Activity

Description​

The rule checks whether there are any If activities that are empty or contain activities only in the Else branch.

Recommendation​

Remove or disable empty If activities. When only the Else branch is populated, consider switching the condition and moving the content to the Then branch.

  • Description​
  • Recommendation​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated