The Complete Servicenow System Administrator Course: Section 4 - Customizations
The Complete Servicenow System Administrator Course: Section 4 - Customizations
The Complete Servicenow System Administrator Course: Section 4 - Customizations
Request
Response
UI Policies
UI Policies
Demo
UI Actions
• Add buttons, links, and items to context menus
• Server-side and client-side
• Leverage JavaScript
1. Trigger Salesforce integration, creating
an associated Salesforce ticket
2. Reject an approval record
When to use:
UI Actions
UI Actions
Demo
Business Rules
• Run off specific table & triggered by database operations
• JavaScript that runs on server-side
• Configure when to run
• Before
• After
• Display
• Async
Before
1 Request 2
3
Response 4
Display After
1. Create an associated CI when a new
asset is created
2. When an incident is reopened,
increment the reopen count
When to use:
Business Rules
Business Rules
Demo
Client Scripts
• JavaScript on client-side; shipped to browser
• Form view
• Access to helper methods
• Triggers:
• On load
• On change
• On submit
• On cell edit
1. Highlight Caller field if user is a VIP
2. Run Conflict checker for Change
Management
When to use:
Client Scripts
Client Scripts
Demo
Data Policies
• UI policies for the backend
• Restrict data through imports
• Web services
1. Require the Type field on the Change
form, for web services
2. Require the Close notes on an Incident
before changing the status to Closed/
When to use: Resolved
Data Policies
Data Policies
Demo
Script Includes
• Store JavaScript functions and classes
• Reusable code
• Server-side
• Only ran when called
1. Create commonly used helper functions
2. Call a custom function via GlideAjax
When to use:
Script Includes
Script Includes
Demo
Client-Side vs Server-Side Revisited
No
Client Script
Client
Client or
Server? Yes
Button or
UI Action
Server menu?
No
No Script Include
On
record action?
Yes
Business Rule
Update Sets
• Record most customizations & configurations
• Used for moving changes from instance to instance
• XML snapshot of record
• Versions & merging
• Previewing & committing
Update Sets (cont.)
What’s Captured What’s Not Captured