Servicely Administration
Scripting
Running Server Scripts
2 min
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 trigger docid\ y2qknwmwufgciua8uhzet or a script libraries docid\ cn03q2nb6j3v1jyntq1ou 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 integration docid 72rn1lidws2hkn2gr9zq 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) docid\ latfchaaxu1wqcrr1vn0p as well as date functions in datetime api docid\ vdcgsj1tcie1hzhxvrh4b 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 trigger docid\ y2qknwmwufgciua8uhzet or in script libraries docid\ cn03q2nb6j3v1jyntq1ou