Scripting Use Cases
Scripting Use Cases
Cases
:
1 ServiceNow - Introduction to - ServiceNow Create a basic business rule Whenever work notes activities is updated, update short description of incident table with
Scripting ServiceNow Scripting to automate a repetitive the user id details.
Basics scripting Overview Guide task in ServiceNow.
- Glide Record and - ServiceNow - Implement a client Script Validate form where you need to check whether user id exists or not or whether a user is
Glide System API Glide Record API to validate and enhance having a valid email domain or not.
Documentation form input.
- Business Rules and - ServiceNow - Use Glide System Create a Catalogue item where request for will be auto populated with the logged in user
Client Scripts Business Rules functions in a client Script id.
and Client Scripts for dynamic behaviour.
Documentation
2 Advanced - Complex queries - Advanced Glide - Create a script to fetch Display a list of incidents as per logged in user's location with incident location.
Glide Record using Glide Record Record and display related records
Queries Techniques in using Glide Record.
ServiceNow
- Querying across - Glide - Implement a Glide Write a script to get the list of active incident records which are assigned to currently
multiple tables Aggregate API in Aggregate script to logged in users and get them in priority list view.
ServiceNow calculate aggregate values.
- Best practices for - Optimize a complex Glide Try to use error handling try/catch block and scripting best practices to optimize the
efficient querying Record query for better performance.
performance.
2 UI Policies and - Implementing UI - ServiceNow UI - Use UI Policies to enforce Whenever caller id is ''Newton Sacs '', make assignment group as mandatory, but it should
Client Scripts Policies Policies mandatory fields based on not be valid for other users.
Documentation conditions.
- Creating dynamic - ServiceNow - Implement a dynamic Take input from user and update a custom field name as "name".
UI using Client Client Scripting form that updates based on
Scripts Guide user input.
- Field - Create a Client Script to Auto populate - email, assignment group, company with respect to caller id on an incident
Dependencies and dynamically populate field table.
Dynamic UI options.
3 Script Includes - Introduction to - ServiceNow - Implement a Script Include Make 4 utility in a script include function [sum, difference, multiply, divide ] and call them
and Server- Script Includes Script Includes for common utility anywhere and showcase the output
Side Scripting Documentation functions.