# 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://2404534899-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MguB2qBmrb2RTJX1gZY%2F-MguQAgTU63pc8_GTyKK%2FIAPG%20-%20Select%20Attachments%20Poller%201.png?alt=media\&token=9433a35f-0778-4637-b051-8dd462472c83)

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://2404534899-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MguB2qBmrb2RTJX1gZY%2F-MguQVWr6_5a0lMejqqs%2FIAPG%20-%20Select%20Attachments%20Poller%202.png?alt=media\&token=6af16fd6-0a8a-4742-a6f7-77e1cd46cec9)

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://2404534899-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MguB2qBmrb2RTJX1gZY%2F-MguQtIF3DSOog4he9aa%2FIAPG%20-%20Select%20Attachments%20Poller%203.png?alt=media\&token=13203e84-14fc-4890-897e-38d31be235b1)

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

The Poller opens in a new window.

![](https://2404534899-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MguB2qBmrb2RTJX1gZY%2F-MguREBsY0cMeIWkJGBy%2FIAPG%20-%20Select%20Attachments%20Poller%204.png?alt=media\&token=12ca42f8-6a27-4000-b14b-3e1f24e76b5e)

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

Open the variable created on the '[Connection Variables](https://docs.sharelogic.com/unifi/3.0/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.
