Book Image

Learning ServiceNow

By : Sylvain Hauser
Book Image

Learning ServiceNow

By: Sylvain Hauser

Overview of this book

This book shows you how to put important ServiceNow features to work in the real world. We will introduce key concepts and examples on managing and automating IT services, and help you build a solid foundation towards this new approach. We’ll demonstrate how to effectively implement various system configurations within ServiceNow. We’ll show you how to configure and administer your instance, and then move on to building strong user interfaces and creating powerful workflows. We also cover other key elements of ServiceNow, such as alerts and notifications, security, reporting, and custom development. You will learn how to improve your business’ workflow, processes, and operational efficiency. By the end of this book, you will be able to successfully configure and manage ServiceNow within your organization.
Table of Contents (21 chapters)
Learning ServiceNow
Credits
About the Author
About the Reviewer
www.packtpub.com
Customer Feedback
Preface

To script, or not to script?


Once you learn how powerful scripting can be in ServiceNow, it would be easy to try and do everything with custom scripts. However, this is quite often not the best solution for a few reasons:

  • If the functionality or API are updated or deprecated, any unnecessary custom code means more maintenance costs during upgrades

  • Increased custom code increases complexity, increasing the cost of development overall

  • Custom code being used in lieu of out-of-box functionality can make it more difficult to identify the source of a given behavior, making troubleshooting cumbersome

In the Where scripting is supported section of this chapter, we'll learn about the various fields and records in which scripting is supported. However, it is important to keep in mind that custom scripts do carry a small cost to offset their benefit, in terms of performance, upgradeability, and future stability.

With that said, the benefits of a custom script are very often far greater than the costs; primarily...