Protecting data with contextual security rules

The first few chapters showed how data could be protected using business rules and Data Policies and that forms can be manipulated with Client Scripts and UI Policies. For example, a script can be used to ensure that you can write to a field only when the task is open. For a better experience, it'd be best to do it both on the server (to ensure that the browser didn't cheat) and the interface (to give feedback to the user). Wonderfully, Contextual Security helps with both!

ServiceNow has two different security managers. These protect data as it leaves and enters the instance. The simple security manager controls who can update a field through roles. The Dictionary entry for each field has several list ...

Get Mastering ServiceNow - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.