The Receipt Message is the asynchronous receipt that is sent after processing update type messages.
Again, after clicking the 'Messages' icon, you are directed to the following screen (note: the three previously configured messages are now visible in the list):
1) Click on the ellipsis to the right of the CreateIncidentReceipt Message & click Copy.
Rather than create the Receipt Message from scratch, it will be quicker to copy the CreateIncidentReceipt Message and make one minor change.
The fields to edit for the Copy Message modal are as follows:
Your Copy Message modal should look like this:
3) Click Copy.
You will be redirected to the Details page of the newly created Receipt Message.
Navigate to Advanced > Script Editor, then View > Inbound.
Your Script Editor fields should initially look like this:
The Script Editor fields to be edited are as follows:
The code in the 'Stage to Target' script field should look like this:
Your Script Editor fields should now look like this:
5) Click Save.
6) Click Build Message.
You will see the 'Message build successful' Info Message.
7) Click the 'Messages' icon to move on & configure the UpdateIncident Message.
There is no further configuration required for the Receipt Message.
#
Field
Description
Value
2
Message name
The message name that is unique for this integration.
'Receipt'
#
Field
Description
Value
4
Stage to Target (Inbound)
The script to run.
Delete the following code that sits outside of the End tag: bond.setOpen();