Running Server Scripts
You can use this functionality to run any server side script (runs on Servicely servers) of your own choosing. Examples include, not limited to:
- Test/troubleshoot scripts that are part of a TriggerTrigger or a Script libraryScript library OR
- Perform one-off automation such as bulk creating/updating/deleting records OR
- Querying set of records to validate their output, e.g. output a set of SLAs attributes for Incidents that meet a certain criteria OR
- Testing/doing ad-hoc runs of outbound integration such as the Microsoft Intune CMDB IntegrationMicrosoft Intune CMDB Integration or testing any other outbound integration call (whether custom or out of box)
Running the script
First, logged on as a user account with Administrator role, you will need to navigate to Administration > Administrator tools > Server script

Then, on the “Server script execution” box, you may put in your script, right click and left click on “Execute“ menu, example below:

Any output to the log will be shown at the bottom of the “Server script execution” box, example below:

Other examples
Note that you can also do Table queries per the syntax outlined in Table API (Server)Table API (Server) as well as Date functions in DateTime APIDateTime API and Dealing with dates, times and durations
Also, the syntax here is exactly same as in all of our server side scripted logic such as in TriggerTrigger or in Script libraryScript library
