Snippets
Useful snippets of code given as examples to help with various scripting needs.
Scripted SOAP Service
Use this script to add a SOAP endpoint to a Unifi Process. You will need to update the api_name to be the same as the one you set in the Process record.
Removing Namespaces
Sometimes it's necessary to remove the namespaces sent in by other systems to make it easier to handle the payload in ServiceNow. The easiest place to do this is within the Scripted SOAP Service, but bear in mind that your payloads will no longer be identical to what the other system sent you. This example shows you how:
Scripted REST API
Use this script to add a REST endpoint to a Unifi Process. You will need to update the api_name to be the same as the one you set in the Process record.
Poll Requests
Bond location and data
This script shows how to find a bond based on an external reference and store some data.
Last updated
Was this helpful?