# 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 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="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-3be12d4e8b667935f655e8e856a8bd36117973f6%2Fimage%20(10)%20(5).png?alt=media" alt=""><figcaption></figcaption></figure>
