# ST-DBP-024 - Persistence Activity Check

> **Rule ID**: `ST-DBP-024`

**Rule ID**: `ST-DBP-024`

**Scope**: Workflow

## Description

The rule checks whether the following activities are used in projects that support persistence in workflow files other than the one that is set as Main:

* [Resume after Delay](https://docs.uipath.com/activities/docs/resume-after-delay)
* [Wait for External Task and Resume](https://docs.uipath.com/activities/docs/wait-for-external-task-and-resume)
* [Wait for Form Task and Resume](https://docs.uipath.com/activities/docs/wait-for-form-task-and-resume)
* [Wait for Job and Resume](https://docs.uipath.com/activities/docs/wait-for-job-and-resume)
* [Wait for Queue Item and Resume](https://docs.uipath.com/activities/docs/wait-for-queue-item-and-resume)

## Recommendation

Use **Wait... and Resume** persistence activities only in the workflow file that is set as Main.

  ![docs image](https://dev-assets.cms.uipath.com/assets/images/studio/2024-10-docs-image-167733-442a1834.webp)
