The ResolveIncident Message is an update type message that we will configure to deal specifically with our resolve scenario (resolve the bonded records).
Again, after clicking the 'Messages' icon, you are directed to the following screen (note: the five previously configured messages are now visible in the list):
1) Click the ellipsis to the right of the UpdateIncident Message & then click Copy.
Rather than create the ResolveIncident Message from scratch, it will be quicker to copy the UpdateIncident Message and make some minor changes.
Copy Message Modal
The fields to edit for the Copy Message modal are as follows:
The message name that is unique for this integration.
Your Copy Message modal should look like this:
3) Click Copy.
You will be redirected to the Details page of the newly created ResolveIncident Message.
Navigate to Message > Bond.
The Bond fields to be edited are as follows:
Process this message when the bond state is Suspended (internal suspend).
Bond vendor suspended
Process this message when the bond state is Vendor suspended (external suspend).
Your Bond form should look like this:
6) Navigate to Outbound > Trigger.
Outbound Trigger Fields
The Outbound Trigger (as required)* fields to be edited are as follows:
The condition that the ServiceNow record must meet to trigger this message being processed.
'State > changes to > Resolved'
The script that must be met for the message to be processed. Use current to get access to the triggering record.
*Outbound condition (as required):
It is not necessary for you to enter a condition. The value given is an example. You may create any condition (or not) to align with your business process requirements. in this case it makes sense to send the Resolve message when the Incident is Resolved.
Your Outbound Trigger form should look like this:
9) Click Save.
We are now ready to configure the Fields for our ResolveIncident Message.