# Polling

To set up an on-demand poll that will query the remote system for attachments and pass each to a subsequent poll, which will then retrieve them and pass them to Unifi to process, we will need to configure a further *two* *each* of the following records:

* Child Poll Processor
* Child Poller

*(Note: one of the children will be a parent to the other)*

We will also need to edit the previously configured [Child Poll Processor](https://docs.sharelogic.com/unifi/3.1/integration-guides/incident-parent-and-child-poller-guide/polling/child-poll-processor) *(per the Parent & Child Poller Guide)* to kick-off the first of our attachment Child Pollers.

To facilitate polling both the Table API and Attachment API, we may also need to *make changes to the Endpoint URLs\** configured in earlier Guides in the following places:\
\&#xNAN;*(\*only if the Connection contains the full endpoint url)*

* Connection
* Outbound Message Path
* Poll Processor Setup Script

We will look at each of those edits and the polling records in turn over subsequent pages. Before configuring those records, let’s first look at **Connection Variables**.

{% content-ref url="polling/connection-variables" %}
[connection-variables](https://docs.sharelogic.com/unifi/3.1/integration-guides/incident-attachment-poller-guide/polling/connection-variables)
{% endcontent-ref %}

{% content-ref url="polling/edit-endpoint-urls" %}
[edit-endpoint-urls](https://docs.sharelogic.com/unifi/3.1/integration-guides/incident-attachment-poller-guide/polling/edit-endpoint-urls)
{% endcontent-ref %}

{% content-ref url="polling/get-attachment-poll-processor" %}
[get-attachment-poll-processor](https://docs.sharelogic.com/unifi/3.1/integration-guides/incident-attachment-poller-guide/polling/get-attachment-poll-processor)
{% endcontent-ref %}

{% content-ref url="polling/get-attachment-poller" %}
[get-attachment-poller](https://docs.sharelogic.com/unifi/3.1/integration-guides/incident-attachment-poller-guide/polling/get-attachment-poller)
{% endcontent-ref %}

{% content-ref url="polling/select-attachments-poll-processor" %}
[select-attachments-poll-processor](https://docs.sharelogic.com/unifi/3.1/integration-guides/incident-attachment-poller-guide/polling/select-attachments-poll-processor)
{% endcontent-ref %}

{% content-ref url="polling/select-attachments-poller" %}
[select-attachments-poller](https://docs.sharelogic.com/unifi/3.1/integration-guides/incident-attachment-poller-guide/polling/select-attachments-poller)
{% endcontent-ref %}

{% content-ref url="polling/edit-child-poll-processor" %}
[edit-child-poll-processor](https://docs.sharelogic.com/unifi/3.1/integration-guides/incident-attachment-poller-guide/polling/edit-child-poll-processor)
{% endcontent-ref %}

{% content-ref url="polling/edit-child-update-poller" %}
[edit-child-update-poller](https://docs.sharelogic.com/unifi/3.1/integration-guides/incident-attachment-poller-guide/polling/edit-child-update-poller)
{% endcontent-ref %}
