Trigger
The Trigger is a Business Rule which stipulates the conditions under which Messages will be sent for the process concerned.
Business Rule
There is no need for you to manually create a Trigger (Business Rule). If you have more than one, you will make duplicate updates.
In native ServiceNow, navigate to System Definition > Busines Rules. Find and navigate to the automatically generated Business Rule.

The top section of your Business Rule record should look like this:

When to run Fields
Your 'When to run' tab should look like this:

Advanced Fields
The code in the script field should look like this:
(function executeRule(current, previous /*null when async*/) {
x_snd_eb.ws_console.logExecute('Business rule: [S] Unifi ' + current.getTableName() + ' trigger rule', function () {
x_snd_eb.ActivityLog.setDocument(current, 'sys_script');
x_snd_eb.Message.processOutbound(current);
});
})(current, previous);
Your 'Advanced' tab should look like this:

We have confirmed the main elements are in place for our Integration to work. We are now ready to Test our CreateIncident Message.
Was this helpful?