Unifi has some functionality that requires access to methods not available to scoped applications. We grant Unifi access to those methods through a single global utility Script Include which you can install via Update Set.
With version 4.0, the Update Set also includes a queue processing job
Unifi dataset events processwhich is necessary for Datasets to be processed.
It is strongly advised that you install this utility to get the most out of Unifi.
- 1.Download Unifi Global Utility.
Unifi Global Utility 18.104.22.168.zip
This is necessary for Datasets to execute their associated ServiceNow Import Job.
When working with Scripted SOAP Services, it’s important to be able to set the soapResponseElement directly in order to preserve the exact payload to be sent back to the calling system. This can only be done with the Global Utility.
The ServiceNow scoped attachment API does not support moving attachments from one record to another. This is necessary for inbound attachments which initially reside on the HTTP Request and are then moved to the Target record.
On occasion, Unifi needs to run some code as the given user. This is necessary things like replaying requests.
Jelly processing is not supported in the ServiceNow scoped API’s, however it is very useful for XML processing. Use of the Global Utility drastically improves XML payload capabilities if you are working with XML payloads.
Used by the Unifi Integration Diagnostic to check scripts for errors.
snd_eb_util.writeAttachment(record, filename, content_type, data)
The Scoped Attachment API does not support writing binary attachments which can cause problems when receiving things like Word documents or PDF’s. This method allows Unifi to use the global attachment API to write those files to the database meaning they will work properly.
The packager methods included in the global utility allow Unifi to automatically export all the components of an integration in one easy step. The packager methods will allow Unifi to create an update set for the integration, add all the configuration records to that update set, and export it as a file download from the Integration page on the Unifi Integration Designer portal.
The web service methods included in the global utility allow Unifi to automatically create and update REST Methods used by Unifi integrations.
The trigger methods included in the global utility allow Unifi to automatically create a Trigger Business Rule on a table if one doesn't already exist.
Create a data source for datasets to use when importing data.
Delete a scheduled import that belongs to and was created by a Dataset. Used when deleting a Dataset.
Delete a transform map that belongs to and was created by a Dataset. Used when deleting a Dataset.
Update a transform map for a Dataset to use when importing data. Used when building a Dataset.
Update the coalesce fields for a transform map. Used when building a Dataset.