studio
2024.10
true
Studio 用户指南
Last updated 2024年10月21日

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

规则 ID:ST-DPB-010

作用域:工作流

描述

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

建议

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.
  • 描述
  • 建议

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。