Chapter 11. Server-Side Scripting

Server-side scripting in ServiceNow might seem easier than client-side scripting, because you don't have to worry about AJAX, asynchronicity, or large performance impacts for seemingly optimized queries. However, due to the expanded and slightly modified functionality of server-side JavaScript, there are a few additional pitfalls to be mindful of!

Scripts that run on the server, and the server-side APIs, provide a great deal of power and control to the developer that's equipped to use them properly; however, they can also put great strain on the server if used improperly. Infinite loops and poorly optimized queries in server-side scripts can be far more difficult to troubleshoot and resolve than client-side issues. ...

Get Learning ServiceNow now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.