# ST-DBP-020 - Undefined Output Properties

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

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

**Scope**: Activity
:::note
This rule is disabled by default.
:::

## Description

The rule checks whether output properties for certain activities are declared and used. Certain activities can be excluded. The default excluded activities in this rule are:

* **For Each** with the namespace `UiPath.Core.Activities.ForEach`.
* **Message Box** with the namespace `UiPath.Core.Activities.MessageBox`
* **Run Spreadsheet Macro** with the namespace `UiPath.Excel.Activities.Business.ExecuteMacroX`.
* **Check App State** with the namespace `UiPath.UIAutomationNext.Activities.NCheckState`.
* **Insert Sheet** with the namespace `UiPath.Excel.Activities.Business.InsertSheetX`.

## Recommendation

Make sure output properties for certain activities are set to a declared variable.

  ![docs image](https://dev-assets.cms.uipath.com/assets/images/studio/studio-docs-image-167125-b9f3d386.webp)

## Modifying the Rule

In the **Project Settings** window, select the **Workflow Analyzer** tab. Find and select the rule.

Add more activities in the **Excluded** field by adding their namespaces separated by a comma. For example, the following parameter `UiPath.Core.Activities.ForEach, UiPath.Core.Activities.MessageBox, UiPath.Excel.Activities.Business.ExecuteMacroX, UiPath.UIAutomationNext.Activities.NCheckState, UiPath.Excel.Activities.Business.InsertSheetX, UiPath.Core.Activities.GetVisibleText` adds **Get Visible Text** to the list of activities excluded from the check.

## Reset to Default

To reset the value to default right-click the rule in the **Project Settings** window, and then click **Reset to default**.

  ![docs image](https://dev-assets.cms.uipath.com/assets/images/studio/studio-docs-image-166868-f9f9921d.webp)
