Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learning ServiceNow

You're reading from   Learning ServiceNow Administration and development on the Now platform, for powerful IT automation

Arrow left icon
Product type Paperback
Published in Jun 2018
Publisher
ISBN-13 9781788837040
Length 388 pages
Edition 2nd Edition
Languages
Arrow right icon
Toc

Table of Contents (19) Chapters Close

Learning ServiceNow Second Edition
Contributors
Preface
1. The Interface FREE CHAPTER 2. Lists and Forms 3. UI Customization 4. Understanding Data and Relationships 5. Tasks and Workflows 6. UI and Data Policies 7. User Administration and Security 8. Introduction to Scripting 9. The Server-Side Glide API 10. The Client-Side Glide API 11. Server-Side Scripting 12. Client-Side Scripting 13. Service Portal Scripting 14. Debugging 15. Pro Tips Index

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. They can also have much more far-reaching impact.

A client-side script error might just make a form a bit more difficult to use, but a server-side error might slow down the whole system or make large segments of functionality unavailable. It's best...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images