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

> **Rule ID**: `ST-DPB-010`

**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.
