# Select Attachments Poller

A Poller is a configuration record which defines the frequency of polling and which logic to use (the logic itself is defined in the Poll Processor). Each time it is run, it creates a corresponding Poll Request record.

## New Poller

Click the **'Pollers' icon** & then **New**.

The fields to be configured for our Poller record are as follows:

| #   | Field          | Description                                           | Value                                  |
| --- | -------------- | ----------------------------------------------------- | -------------------------------------- |
| 1\* | Name           | The name of your Poller.                              | \<Your Name>                           |
| 2\* | Poll processor | The Poll Processor to use when running this Poller.   | \<Your Poll Processor>                 |
| 3   | Run            | The frequency at which the Poller should run.         | 'On Demand'                            |
| 4   | Run as         | Poller will run with credentials of specified user.   | \<Your  Inbound user> (from Connetion) |
| \*  | Active         | Set to true to use this Poller record for processing. | \<true>                                |

*\*These fields are mandatory, or automatically defaulted to true.*

*Your New Poller modal should look like this:*

![](https://796541950-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MRVbEUdgsUzsOdVG5r_%2F-MRVby7Z0helvQVnPnFn%2FSelect%20Attachments%20Poller%201.png?alt=media\&token=b5a04480-4ced-4c5d-9ef9-231153ed6153)

5\) **Submit and view** to further configure the Poller.

## Details

The fields to be configured for the Details form are as follows:

| # | Field       | Description                                                   | Value               |
| - | ----------- | ------------------------------------------------------------- | ------------------- |
| 6 | Description | A description of what this Poller is for and/or how it works. | \<Your description> |

*Your Details form should look like this:*

![](https://796541950-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MRVbEUdgsUzsOdVG5r_%2F-MRVc8rKofNBkrzFDwUg%2FSelect%20Attachments%20Poller%202.png?alt=media\&token=74e62190-1a24-4059-b47d-6125e7e02c2b)

7\) **Save** the Poller.

## Update Connection Variable

Update the value of the 'select\_attachments' Connection Variable with the sys\_id of the child Poller.

![](https://796541950-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MRVbEUdgsUzsOdVG5r_%2F-MRVcMO1Bm9IdJ1VXZ1o%2FSelect%20Attachments%20Poller%203.png?alt=media\&token=403233ac-82ce-434a-9dd4-60d81e82ab79)

8\) Click on the **Hamburger Menu** and select **Open in platform**.

The Poller opens in a new window.

![](https://796541950-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MRVbEUdgsUzsOdVG5r_%2F-MRVcRWvyr7EqcwWNc9I%2FSelect%20Attachments%20Poller%204.png?alt=media\&token=27e0cf73-0fe7-430e-9544-b35b94f9b7cf)

9\) **Right-click** the Header & '**Copy sys\_id**'.

Open the variable created on the '[Connection Variables](https://docs.sharelogic.com/unifi/2.2/integration-guides/incident-attachment-poller-guide/connection-variables#variable-select_attachments_poller)' page of this Guide and update the value with the copied sys\_id.

Next, we will **edit** our previously configured **Child Poll Processor** so that it becomes the parent of this.
