# Get Attachment 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:

<table><thead><tr><th width="180.44252030408745">Field</th><th width="329.8935116250753">Description</th><th>Value</th></tr></thead><tbody><tr><td>Name*</td><td>The name of your Poller.</td><td>&#x3C;Your Name></td></tr><tr><td>Poll processor*</td><td>The Poll Processor to use when running this Poller.</td><td>&#x3C;Your Poll Processor></td></tr><tr><td>Run</td><td>The frequency at which the Poller should run.</td><td>'On Demand'</td></tr><tr><td>Run as</td><td>Poller will run with credentials of specified user.</td><td>&#x3C;Your  Inbound user> (from Connection)</td></tr><tr><td>Active*</td><td>Set to true to use this Poller record for processing.</td><td>&#x3C;true></td></tr></tbody></table>

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

*Your New Poller modal should look like this:*

![](https://605238050-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-Mgq0d_06bytiAYK2rXZ%2F-Mgq2zsqx-L9KyDRtfg_%2FIAPG%20-%20Get%20Attachment%20Poller%201.png?alt=media\&token=d1f2c0e1-2195-4f0e-b9ff-ba35fe954ae8)

**Submit and view** to further configure the Poller.

## Details

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

<table><thead><tr><th width="151">Field</th><th width="371.32405294386126">Description</th><th>Value</th></tr></thead><tbody><tr><td>Description</td><td>A description of what this Poller is for and/or how it works.</td><td>&#x3C;Your description></td></tr></tbody></table>

*Your Details form should look like this:*

![](https://605238050-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-Mgq0d_06bytiAYK2rXZ%2F-Mgq6_IPC-01kkzRKBVz%2FIAPG%20-%20Get%20Attachment%20Poller%202.png?alt=media\&token=81561849-228c-4055-80a1-a82e1ee91d39)

**Save** the Poller.

## Update Connection Variable

Update the value of the 'get\_attachment\_poller' Connection Variable with the sys\_id.

![](https://605238050-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-Mgq0d_06bytiAYK2rXZ%2F-Mgq7Nr2C0b0ymxFB9E_%2FIAPG%20-%20Get%20Attachment%20Poller%203.png?alt=media\&token=0c437631-34b6-498a-a37d-38eeb1807330)

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

The Poller opens in a new window.

![](https://605238050-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-Mgq0d_06bytiAYK2rXZ%2F-Mgq97sy3_4Us-bRR7OR%2FIAPG%20-%20Get%20Attachment%20Poller%204.png?alt=media\&token=1ffea24f-10b3-4f9f-bc20-fb5c67faebc4)

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

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

Next, we will configure the **Select Attachments Poll Processor**.


---

# 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://docs.sharelogic.com/unifi/3.1/integration-guides/incident-attachment-poller-guide/polling/get-attachment-poller.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.
