Professional Documents
Culture Documents
Conquer ServiceNow by getting to grips with the power behind the platform
In Detail
This book will help you to understand the fundamentals behind the ServiceNow
platform. Throughout the book, we develop a simple example application that is
designed to highlight the key capabilities of ServiceNow.
In the initial chapters, we build our foundations, walking through the data model,
exploring how to write effective code to implement business logic, and avoiding the
pitfalls that come with flexibility and choice in client-side scripting.
Then, we explore the Task table, a powerful kick-start to any application. To head off
potential problems, we look at debugging and diagnosis techniques. And finally, we
think about automation and orchestrationhow ServiceNow can help control the rest of
your IT environment. Packed with hints, tips, and examples, this book helps you to
master ServiceNow quickly and efficiently.
What You Will Learn
Dig into the foundations of the ServiceNow platform and build powerful custom
applications
Design feature-rich, responsive, automated workflow systems
Leverage the vast capabilities of ServiceNow to super-power your business
Design powerful data-driven applications
Control information flow and apply business logic with Business Rules
Write efficient and effective client-side JavaScript
Explore the working of the Task table
Integrate and exchange data with people and systems
Create and secure your systems with proper access control
Discover and automate other IT systems
Downloading the example code for this book. You can download the example code files
for all Packt books you have purchased from your account athttp://www.PacktPub.com.
If you purchased this book elsewhere, you can
visit http://www.PacktPub.com/support and register to have the files e-mailed directly
to you.
Table of Contents
1. Mastering ServiceNow
1. Table of Contents
2. Mastering ServiceNow
3. Credits
4. About the Author
5. About the Reviewers
6. www.PacktPub.com
1. Support files, eBooks, discount offers, and more
1. Why subscribe?
2. Free access for Packt account holders
3. Instant updates on new Packt books
7. Disclaimer
8. Preface
1. What is in this book
2. What you need for this book
3. Who this book is for
4. Conventions
5. Reader feedback
6. Customer support
2. Forms
1. Creating useful forms
2. Adding related and embedded lists
3. Defining your own Related Lists
3. Creating tags and bookmarks
1. Adding a bookmark
2. Defining a tag
4. Enjoying views
1. Controlling views
5. Menus and modules
1. Specifying a view
2. Setting a filter
3. Building the right modules
8. Summary
10. 2. Server-side Control
1. A brief history of JavaScript
2. Running background scripts
3. Rhino the JavaScript engine powering ServiceNow
1. Accessing Java
2. Appreciating server-side code
1. Comparing engine speed
4. Using GlideRecord (and its friends)
1. Accessing data from GlideRecord
8. Script Includes
1. Creating classes
1. Coding a class
2. Using classes to store and validate data
2. Extending classes
1. Extending the class example
3. Utility classes
1. Providing utility classes
4. Storing functions
1. Having functions in Script Includes
5. Client Callable Script Includes
9. Special function calls
1. Specifying the view using code
10. Enforcing a Data Policy
1. Forcing a comment using Data Policy
2. Specifying dynamic filters
1. Showing Guests that are 'Me'
11. Scripting Reference Qualifiers
1. Showing only guests with reservations
12. Summary
11. 3. Client-side Interaction
1. Building a modern interface
1. A microsecond of Human Computer Interaction
1. Using GlideForm
2. Choosing a UI Policy
6. Meeting Client Scripts
1. Sending alerts for VIP guests
2. Changing, submitting, loading, and more
3. Validating the contents of fields
4. The disappearance of current
5. Translating client scripts
7. Efficiently transferring data to the client
1. Writing a Script Include for GlideAjax
2. Using GlideAjax
3. Passing data when the form loads
1. Creating a Display Business Rule
2. Using scratchpad on the client
4. Storing data in the session
8. Controlling lists with Context Menus
1. Finding out about the list
2. Opening a new tab
9. Customizing and extending the platform
1. Firing on more events
2. Using built-in libraries
3. What could go wrong
10. Taking control of the browser
2. Running Metrics
1. Scripting a Metric Definition
2. Monitoring the duration of Maintenance tasks
7. Flattening data with Database Views
1. Creating a Metric Instance Database View
8. Reporting
1. The functionality of a list
2. Using reports elsewhere
1. Sending a shift handover report
3. Analytics with ServiceNow
1. Basic trending with Line Charts
2. Performance Analytics
4. Making sense of reports
1. Ensuring consistency
2. Using outside tools
9. Building homepages
1. Creating a Maintenance homepage
2. Making global homepages
1. Editing homepages
3. Counting on a homepage
4. Optimizing homepages
10. Summary
14. 6. Exchanging Data Import Sets, Web Services, and Other Integrations
1. Introducing global
2. Understanding domain inheritance
3. Turning on Domain Separation
3. Setting domains
4. Exploring domain visibility
5. Understanding Delegated Administration
6. Overriding configuration
1. Displaying different messages for different domains
7. Creating more domain relationships
8. Using Domain Separation appropriately
5. Authenticating users
1. Using internal authentication
2. Controlling authentication
3. Using an LDAP server for authentication
4. Enabling Single Sign On through SAML
1. Logging out
2. Configuring Single Sign On
5. Navigating to the side door
6. Preventing access to the instance
6. Securing Web Services
1. Using WS-Security
1. Improving security with signatures
2. Mutual authentication
1. Using APD
7. Summing up Discovery
8. Automating services with Orchestration
1. Automating password resets with Orchestration
1. Running the Automation workflow
2. Running custom commands
9. ServiceNow Cloud Provisioning
1. Introducing virtual machines
2. Requesting a virtual machine with Cloud Provisioning
10. Configuration Automation
1. Controlling servers with Puppet
1. Creating the catalogs
2. Configuring Puppet and ServiceNow
2. Cooking with Chef
1. Folding Chef into ServiceNow
3. Running Configuration Automation
11. Summary
20. Index