# 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                    |
| :-: | ---------------- | ------------------------------ | ------------------------ |
|  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-MRWdx7xOyRghjW8370k%2F-MRWeHMKzF1gszdC-dsu%2FTest%20ResolveIncidentInbound%201.png?alt=media\&token=8952a881-7029-4df3-b0dd-75c1d368b2ab)

4\) Right-click & **Save**.

## Poll for Updates

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

![](https://796541950-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MRWdx7xOyRghjW8370k%2F-MRWegau3I1DOg5L1JqS%2FTest%20UpdateIncidentInbound%203.png?alt=media\&token=6b665afa-c40c-4240-989c-45460ca828b6)

**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://796541950-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQBk35gIi557UHt7QlJ%2F-MRWdx7xOyRghjW8370k%2F-MRWfBuhmjmbwejm930a%2FTest%20ResolveIncidentInbound%202.png?alt=media\&token=ff93ef63-1640-4d19-847a-3d63d10128a6)

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-MRWdx7xOyRghjW8370k%2F-MRWfdUA3HK8Uh2_Nuz2%2FTest%20ResolveIncidentInbound%203.png?alt=media\&token=3a1639ca-d2bd-4e38-8521-e0becb337795)
{% 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-MRWdx7xOyRghjW8370k%2F-MRWfnWVD759OPvFFVV3%2FTest%20ResolveIncidentInbound%204.png?alt=media\&token=84ccef08-3de1-4178-b131-db1ed17bde78)
{% 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-MRWdx7xOyRghjW8370k%2F-MRWg1XrmOXZplD17TGa%2FTest%20ResolveIncidentInbound%205.png?alt=media\&token=82b6143c-ac39-4375-aff6-a57ef626aed8)

{% 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-MRWdx7xOyRghjW8370k%2F-MRWgPYNCmzu0Q90eSuL%2FTest%20ResolveIncidentInbound%206.png?alt=media\&token=38c25fcf-9417-4472-89fc-739f6d413721)

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