# selectiveAttributes Block

This Block can be placed inside documentsSourceAddon. This will filter attributes (option field) in documents returned by documentsSourceAddon.

### Properties

| Property Name    | Description                                                                       | Example                                                                                                                                                                                                       | Status |
| ---------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
| Tag              | Unique name for the logic block.                                                  | **selective\_attributes\_addon**                                                                                                                                                                              |        |
| Permissions      | Which entity has rights to interact at this part of the workflow.                 | Registrant                                                                                                                                                                                                    |        |
| Default Active   | Shows whether this block is active at this time and whether it needs to be shown. | Checked or Unchecked                                                                                                                                                                                          |        |
| Stop Propagation | End processing here, don't pass control to the next block.                        | Checked or Unchecked                                                                                                                                                                                          |        |
| On Errors        | Called if the system error has occurs in the Block                                | <p>- No action<br>- Retry</p>                                                                                                                                                                                 |        |
| Attributes       | Array of attributes to select                                                     | <p>"attributes": \[</p><p>{</p><p>"attributePath": "status"</p><p>},<br><br><strong>Note:</strong> If value is empty no attributes will be selected and field option in returned documents will be empty.</p> |        |

<figure><img src="/files/MKX2gOphiJDD4KRDadRM" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guardian.hedera.com/guardian-dev/guardian/standard-registry/policies/policy-creation/introduction/selectiveattributes-block.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
