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

Studio User Guide

Last updated Feb 5, 2025

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.

Was this page helpful?

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