> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-management/pdso-use-rules/pdc-metadata-rules.md). Agents can also search and read this documentation through its [MCP server](https://docs.pentaho.com/~gitbook/mcp).

# Metadata rules

Metadata rules execute rule definitions on a selected data source.

Click **Rules** on the **Metadata Rules** card to open the Manage Metadata Rules page.

![Metadata rules table](https://2613472723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTt1SdXx3alZu8NJiPBj6%2Fuploads%2Fgit-blob-0b4fa928f324fea4919873acc644f90952ea6c73%2FPDC%20Metadata%20rules%20tab.png?alt=media)

The information in the **Metadata Rules** table is described below.

| Column                                                                                                                                                                                                                                    | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Metadata Rule**                                                                                                                                                                                                                         | The name of the metadata rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Datasource**                                                                                                                                                                                                                            | The name of the data source.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Rule Type**                                                                                                                                                                                                                             | The type of metadata rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Owner**                                                                                                                                                                                                                                 | The creator of the metadata rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **Last Run**                                                                                                                                                                                                                              | The date and time of the last execution of the metadata rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Schedule**                                                                                                                                                                                                                              | The scheduled time for the metadata rule’s execution if applied.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Details**                                                                                                                                                                                                                               | <p>Click <strong>View</strong> to open the configuration and history of the metadata rule:</p><ul><li>The <strong>Configuration</strong> tab lists the metadata rule name, data source asset, and rule definition, and allows you to select <strong>Run rule definition now</strong> for immediate execution.</li><li>The <strong>History</strong> tab lists previous rule executions including the data source, start time, elapsed time, and the status, The tab allows you to select <strong>Terminate</strong> to disable the rule, or click <strong>Statistics</strong> to view the success and failure details of the operation.</li></ul> |
| <p><img src="https://2613472723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTt1SdXx3alZu8NJiPBj6%2Fuploads%2Fgit-blob-df92ee60a4db655bf59fd4e197fbbcd4fdbde731%2FPDSO%20More%20options.png?alt=media" alt=""></p> | <p>The <strong>More options</strong> icon:</p><ul><li>Click and choose <strong>Run</strong> to run the metadata rule.</li><li>Click and choose <strong>Edit</strong> to edit the metadata rule.</li><li>Click and choose <strong>Delete</strong> to delete the metadata rule.</li></ul>                                                                                                                                                                                                                                                                                                                                                          |
| <p><img src="https://2613472723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTt1SdXx3alZu8NJiPBj6%2Fuploads%2Fgit-blob-d79840076cb12462d477d00b09a7416ed18be18e%2FPDSO%20Run%20icon.png?alt=media" alt=""></p>     | The **Run** icon. Click to execute the selected metadata rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <p><img src="https://2613472723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTt1SdXx3alZu8NJiPBj6%2Fuploads%2Fgit-blob-f7656d79ccf70697b6a1558e0afb87566dbe4651%2FPDSO%20Delete%20icon.png?alt=media" alt=""></p>  | The **Delete** icon. Click to delete the selected metadata rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |

Click \*\*Add Rule\*\* to add a new metadata rule. See the following topics when working with metadata rules:

* [Creating a metadata rule](https://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-management/pdso-use-rules/pdc-metadata-rules/pdc-creating-a-metadata-rule.md)
* [Running a metadata rule](https://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-management/pdso-use-rules/pdc-metadata-rules/pdc-running-a-metadata-rule.md)
* [Editing a metadata rule](https://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-management/pdso-use-rules/pdc-metadata-rules/pdc-editing-a-metadata-rule.md)
* [Deleting a metadata rule](https://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-management/pdso-use-rules/pdc-metadata-rules/pdc-deleting-a-metadata-rule.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-management/pdso-use-rules/pdc-metadata-rules.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
