# Test ResolveIncidentInbound

## Resolve Test Incident

In the **remote instance** (your PDI), navigate to **< Your Incident >** created in the earlier test.

Update the Incident record as follows:

| Field            | Description                    | Value                    |
| ---------------- | ------------------------------ | ------------------------ |
| State            | The Incident lifecycle state.  | ‘Resolved’               |
| Resolution code  | The Incident resolution code.  | \<Your Resolution code>  |
| Resolution notes | The Incident resolution notes. | \<Your Resolution notes> |

*Your Incident record should look like this:*

![](/files/VD4jSeDpBeuli700wC9x)

Right-click & **Save**.

## Poll for Updates

Back in the **originating instance**, navigate to & **open** **< Your Poller >**. Click **Execute Now**.

**Open** the **corresponding Poll Request** & confirm that the **Incident** was **found** (and the **Message name** was **ResolveIncidentInbound**):

![](/files/8zGEFrEeVYJmyUEuZFjF)

View the Transactions that have been sent. This can be done either in Native ServiceNow, or in Unifi Operations Manager.

{% tabs %}
{% tab title="Native ServiceNow" %}
Navigate to **Unifi > Transport > Transactions**.

![](/files/NmM0LYu6Tig0OFroXYuS)
{% endtab %}

{% tab title="Unifi Operations Manager" %}
Navigate to **Unifi > Unifi Operations Manager**.

![](/files/gDp49HXKHUHnHKm7DRkR)
{% endtab %}
{% endtabs %}

{% hint style="success" %}
We can see that the ResolveIncidentInbound message has been received, is Complete & Accepted and displays the relevant Incident & Bond numbers.
{% endhint %}

Confirm the Transaction has updated the **bonded ticket** in the **originating instance**:

![](/files/eU3ImiNT6fsNDipmuY26)

{% hint style="success" %}
We can see that the State, Resolution code & Resolution notes have been updated on the bonded ticket.
{% endhint %}

Navigate to the **Notes** tab to view the Activities stream:

![](/files/Ur8R0xPa9OrhL3cuqrtQ)

{% hint style="success" %}
We can see that the update has also been logged in the Activities stream.
{% endhint %}


---

# 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/4.2/integration-guides/incident-multiple-message-poller-guide/testing/test-resolveincidentinbound.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.
