# 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/UnChecked                                                                                                                                                                                                           |        |
| Stop Propagation | End processing here, don't pass control to the next block.                        | Checked/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="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FlA8L1P8Pmqy0hpsF1Uvl%2Fimage.png?alt=media&#x26;token=763825ea-2f5a-4904-ae89-15c697827cd9" alt=""><figcaption></figcaption></figure>
