# Test ResolveIncidentInbound

## Resolve Test Incident

In the **remote instance** (your PDI), navigate to one of **< Your Incidents >** updated 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:*

![](https://content.gitbook.com/content/77WwgPxoLSydiu2bJgNO/blobs/xG7ytd1qmczD3aw8nnSU/iapg-test-resolveincidentinbound-1.png)

Right-click & **Save**.

## Poll for Updates

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

![](https://content.gitbook.com/content/77WwgPxoLSydiu2bJgNO/blobs/U0DwmPCIgBbecbLMmXNo/iapg-test-updateincidentinbound-3.png)

**Open** the **corresponding Child Poll Request** & confirm that the **Incident** was **found** (and the **Message name** was **ResolveIncidentInbound**) & **Notice** the **incident\_id** passed in as a **parameter**:

![](https://content.gitbook.com/content/77WwgPxoLSydiu2bJgNO/blobs/pIwCv1STQXiVPTawL9e6/iapg-test-resolveincidentinbound-3.png)

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***.*

![](https://content.gitbook.com/content/77WwgPxoLSydiu2bJgNO/blobs/zhUEtRPSHtA5UgehVdZH/iapg-test-resolveincidentinbound-4.png)
{% endtab %}

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

![](https://content.gitbook.com/content/77WwgPxoLSydiu2bJgNO/blobs/SnKQ0h9l5wptRhkVBNFH/iapg-test-resolveincidentinbound-5.png)
{% 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**:

![](https://content.gitbook.com/content/77WwgPxoLSydiu2bJgNO/blobs/r54bazKQ7PpkyqWjJWKw/iapg-test-resolveincidentinbound-6.png)

{% 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:

![](https://content.gitbook.com/content/77WwgPxoLSydiu2bJgNO/blobs/mbgTUp3JC4FKRQQVyU6N/iapg-test-resolveincidentinbound-7.png)

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