Defining custom workflows for test artifacts
About this task
A workflow is a state transition model that defines the states for test artifacts and the actions that users take to move the test artifact from one state to another. Typically, a workflow starts with a Draft state and ends with a state that reflects the final disposition of the artifact, such as Approved or Closed.
You define a state transition model by binding the workflow to a test artifact type. For example, in the default workflow, when a reviewer rejects a test plan that is under review. the test plan returns to the Draft state. One possible customization would be to create a new test plan state called Rejected, which would serve as the state for test plans that failed the review.
Ideally, you define workflows when you create a project area.
- Avoid making changes to workflows in large projects. The only exceptions are name changes and additions.
- If you open an artifact in an invalid state, the state is reset to the initial state.
- If you remove states or workflows, states are likely to become invalid.
For additional details about defining custom workflows, see Leveraging custom workflows in ETM.