Server-side Scripting

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

Scripts that run on the server 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 a great deal of in server-side scripts can be far more difficult to resolve than client-side issues. It's best to always be mindful of this fact when writing server-side ...

Get ServiceNow: Building Powerful Workflows now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.