# 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-MRRYk0-z9VCXgXWCGNo%2F-MRRZ3qPmw3vs8KqGvGg%2FV2%20-%20Test%20Resolve%20Message%201.png?alt=media\&token=8e4a0ab7-d262-462a-8433-6d93898f2fb4)

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

## Poll for Updates

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

**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-MRRYk0-z9VCXgXWCGNo%2F-MRRZESYYjbYR3qXdImR%2FV2%20-%20Test%20Resolve%20Message%202.png?alt=media\&token=be1267cf-0ace-4ac4-83fe-886936656640)

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-MRRYk0-z9VCXgXWCGNo%2F-MRRZt8uhCDsN65XM9v6%2FV2%20-%20Test%20Resolve%20Message%203.png?alt=media\&token=7e168727-aa9d-4906-b254-3f65508450ad)
{% 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-MRRYk0-z9VCXgXWCGNo%2F-MRR_2kes3exw_FYkogR%2FV2%20-%20Test%20Resolve%20Message%203b.png?alt=media\&token=fef8eda6-795a-4174-9e62-3690fbdf19db)
{% 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-MRRYk0-z9VCXgXWCGNo%2F-MRR_IPCxa2zFlr26iFO%2FV2%20-%20Test%20Resolve%20Message%204.png?alt=media\&token=d093cc60-b444-4d07-bbfa-d25e1b934a70)

{% 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-MRRYk0-z9VCXgXWCGNo%2F-MRR_VcD7B1YNRF0VLJv%2FV2%20-%20Test%20Resolve%20Message%205.png?alt=media\&token=1b22d572-6c64-4d7c-80a4-323f98bfde6c)

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