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 now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ServiceNow: Building Powerful Workflows

You're reading from   ServiceNow: Building Powerful Workflows Automating IT Service Management

Arrow left icon
Product type Course
Published in Aug 2017
Publisher Packt
ISBN-13 9781788628730
Length 1330 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (3):
Arrow left icon
Tim Woodruff Tim Woodruff
Author Profile Icon Tim Woodruff
Tim Woodruff
Martin Wood Martin Wood
Author Profile Icon Martin Wood
Martin Wood
Ashish Rudra Srivastava Ashish Rudra Srivastava
Author Profile Icon Ashish Rudra Srivastava
Ashish Rudra Srivastava
Arrow right icon
View More author details
Toc

Table of Contents (39) Chapters Close

Title Page
Credits
Preface
1. Module 1 FREE CHAPTER 2. The Interface 3. Lists and Forms 4. UI Customization 5. Understanding Data and Relationships 6. Tasks and Workflows 7. UI and Data Policies 8. User Administration and Security 9. Introduction to Scripting 10. The Server-side Glide API 11. The Client-side Glide API 12. Server-side Scripting 13. Client-side Scripting 14. Debugging 15. Pro Tips 16. Module 2 17. Getting Started with Service-Now 18. Performing Core Configuration and Management Tasks 19. Building Data-Driven Application 20. Configuring Alerts and Notifications 21. Building and Configuring Reports 22. Creating and Configuring Workflow Activities 23. Auditing and Diagnosing Service-Now 24. Module 3 25. ServiceNow Foundations 26. Developing Custom Applications 27. Server-Side Control 28. Client-Side Interaction 29. Getting Things Done with Tasks 30. Events, Notifications, and Reporting 31. Exchanging Data – Import Sets, Web Services, and other Integrations 32. Securing Applications and Data 33. Diagnosing ServiceNow – Knowing What Is Going On 34. Packaging with Applications, Update Sets, and Upgrades 35. Making ServiceNow Beautiful with Service Portal and Custom Interfaces 36. Bibliography

Server-side debugging


Server-side debugging can consist of debugging server-side scripts and other behavior, as well as performance and security issues. Debugging server-side scripts can often be slightly more difficult, as the exact source of the undesired behavior is not necessarily logged or thrown as an error message visible on the client. Instead, you must search through the logs for thrown errors and sometimes use trial-and-error and custom log messages to determine the exact source of the issue. For this reason, using try/catch() blocks in your server-side code can be a good idea. This is also true of client-side code in fact, but it is especially important with server-side code.

Note

While try/catch() blocks are a great way to build in error-handling behavior, it should not be relied upon to control the flow of your code. They should only be used when the catch block can handle the error in some sensible way. (Otherwise, pass the error up the call stack and perhaps a higher-level function...

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 ₹800/month. Cancel anytime