studio
2024.10
true
UiPath logo, featuring letters U and I in white
Studio User Guide
Last updated Nov 18, 2024

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?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.