studio
2024.10
false
UiPath logo, featuring letters U and I in white

Studio user guide

Last updated Mar 9, 2026

ST-DPB-010 - Multiple instances of [Workflow] or [Test Case]

Rule ID: ST-DPB-010

Scope: Workflow

Description

This rule verifies if a coded workflow or test case contains more than one method marked with either the [Workflow] or [Test Case] attributes.

Recommendation

According to best practices, a coded workflow or test case that can be executed should only consist of a single method marked with either the [Workflow] or [Test Case] attributes. This single method should be capable of executing the entire automation. This approach avoids issues that may arise from having multiple entry points in your coded automation.

  • Description
  • Recommendation

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated