Search icon CANCEL
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
Mastering ServiceNow

You're reading from   Mastering ServiceNow Unleash the full potential of ServiceNow from foundations to advanced functions, with this hands-on expert guide fully revised for the Helsinki version

Arrow left icon
Product type Paperback
Published in Oct 2016
Publisher Packt
ISBN-13 9781786465955
Length 656 pages
Edition 2nd Edition
Arrow right icon
Author (1):
Arrow left icon
Martin Wood Martin Wood
Author Profile Icon Martin Wood
Martin Wood
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. ServiceNow Foundations 2. Developing Custom Applications FREE CHAPTER 3. Server-Side Control 4. Client-Side Interaction 5. Getting Things Done with Tasks 6. Events, Notifications, and Reporting 7. Exchanging Data – Import Sets, Web Services, and other Integrations 8. Securing Applications and Data 9. Diagnosing ServiceNow – Knowing What Is Going On 10. Packaging with Applications, Update Sets, and Upgrades 11. Making ServiceNow Beautiful with Service Portal and Custom Interfaces

Building security rules


As we work through the rest of the chapter, we'll use the following scenarios to implement different security rules. They outline particular use cases. I find this very helpful to organize exactly what is necessary to implement.

  • Only authorized users are allowed to create or edit Maintenance tasks. The records become read-only when the tasks are closed.

  • Only a team leader is allowed to edit the Priority field when any task is not closed.

  • A user can only add to Work notes for a Maintenance task if they are on the Work notes list or in the Assigned to field.

Conditioning contextual security

A contextual security rule is made up of three elements. These are evaluated together to determine if the user can carry out a particular action:

  • A condition (if it applies to the record)

  • A script (that returns true). This is available when the Advanced checkbox is ticked.

  • One or more required roles, where a user must have at least one

A rule can have any combination of these elements. A...

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 €18.99/month. Cancel anytime