# 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                    |
| :-: | ---------------- | ------------------------------ | ------------------------ |
|  1  | State            | The Incident lifecycle state.  | ‘Resolved’               |
|  2  | Resolution code  | The Incident resolution code.  | \<Your Resolution code>  |
|  3  | Resolution notes | The Incident resolution notes. | \<Your Resolution notes> |

*Your Incident record should look like this:*

![](https://796541950-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MRLCBsKSEyV8WWMmRDh%2F-MRLDCW0x0KuIeLGeRUA%2FV2%20-%20Test%20Resolve%20Message%201.png?alt=media\&token=8ad62b92-7519-4442-acd7-572bcec9b643)

4\) 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**):

![](https://796541950-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MRLCBsKSEyV8WWMmRDh%2F-MRLDTD-USekJQmBwou8%2FV2%20-%20Test%20Resolve%20Message%202.png?alt=media\&token=d600029b-47ea-4e23-8ad2-297877bb0643)

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

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

![](https://796541950-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MRLCBsKSEyV8WWMmRDh%2F-MRLDy5PCTSWiqbbM7ED%2FV2%20-%20Test%20Resolve%20Message%203.png?alt=media\&token=155f2a17-d48a-4418-909a-38068e827e27)
{% endtab %}

{% tab title="Unifi Operations Portal" %}
Navigate to **\[ws] Unifi > Unifi Operations Portal**.

![](https://796541950-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MRLCBsKSEyV8WWMmRDh%2F-MRLE6MAaTigG1uK-Wyi%2FV2%20-%20Test%20Resolve%20Message%203b.png?alt=media\&token=0d667a89-9761-4f13-9112-33185e8e1124)
{% 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://796541950-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MRLCBsKSEyV8WWMmRDh%2F-MRLER0E84rc-zE8LQ35%2FV2%20-%20Test%20Resolve%20Message%204.png?alt=media\&token=69d17ca6-136c-462a-8d13-a943598ff13c)

{% 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://796541950-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MRLCBsKSEyV8WWMmRDh%2F-MRLEcSc689ACvQdjkEq%2FV2%20-%20Test%20Resolve%20Message%205.png?alt=media\&token=cc09a62f-9cf9-4b71-ae00-b4999c71a3a5)

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