SERVICENOW SCRIPTING

SERVICENOW SCRIPTING TRAINING IN PUNE-  ONLINE

Duration of Training  : 70 hrs

Batch type  :  Weekdays/Weekends

Mode of Training  :  Classroom/Online/Corporate Training

ServiceNow – Admin + Development Training & Certification in Pune

Highly Experienced Certified Trainer with 10+ yrs Exp. in Industry

Realtime Projects, Scenarios & Assignments

 

SERVICENOW SCRIPTING COURSE CONTENT

Introduction to Advance SNOW Scripting Objectives

Introduction to Advance Scripting Objectives
About This Learning Module
Introduction to ServiceNow Scripting
ServiceNow APIs
ServiceNow Script Editor
Background Scripts
Fix Scripts
Script Actions
System Properties

Client-Side Scripting

Client-Side Scripting Objectives
About This Learning Module
Introduction to Client-side Scripting
The GlideForm (g_form) Class
The GlideUser (g_user) Class
UI Scripts
UI Actions
Mobile client GlideForm (g form) scripting
and migration
AJAX
Catalog client scripts

Client-Side Scripting Design and Processing

Client Scripts: Enhance user experience by reducing
form completion time.
Form Load: Ensure proper client-side processing by
loading forms first.
Field Control: Use methods like disabling list editing,
business rules, and data policies to manage field
values.
Minimize Server Lookups: Utilize g_scratchpad for efficient data transfer from server to client, avoiding performance-heavy methods like GlideRecord.
“Asynchronous GlideAjax: Dynamically request server data,
improving performance.”

Client-Side Scripting Design and Processing

Use setValue() Correctly: Include the display
value to prevent unnecessary server calls.
Prefer UI Policies: They offer better control and do not require scripting.
Input Validation: Use client scripts to validate user input before submission.
Script Order: Control execution order to prevent conflicts

Client-Side Scripting Design and Processing
Avoid DOM Manipulation: Use GlideForm API for maintainability.
Global Client Scripts: Limit their use to avoid performance issues.
Encapsulate Code: Wrap code in functions to manage variable scope.
Run Necessary Scripts: Optimize scripts to execute
only when needed, using flags like isLoading and newValue checks.

Server-Side Scripting
Glide Server APIs
Classic Business rules
Script includes
Processors
Scripts – Background module
Installation settings
Using DurationCalculator to calculate a due date
Querying tables in script

Server-Side Scripting
Running order guides automatically
Scriptable assignment of execution
plans
Using regular expressions in server
side scripts
Scriptable service catalog variables
Setting a GlideRecord variable to null Schedule Pages
XMLDocument script object
Background Script Module

UI pages
UI macros

Debugging scripts
Script Debugger and Session Log
Session debug
Debugging applications
Debugging business rules
Debugging classifications
Field watcher
Writing to the debug log
JavaScript debug window
JS Code Coverage Debug

Scheduled Script Executions and Events
What is a Scheduled Script Execution?
Creating a Scheduled Script Execution
Scheduled Script Execution Scripts
What is on the Schedule?
What are Events?
Event Registry
Generating Events
Checking for Events
Responding to Events
Using Custom Queues – Advanced Topic

Debugging Scripts
Script Debugger and Session Log
Session debug
Debugging applications
Debugging business rules
Debugging classifications
Field watcher
Writing to the debug log
JavaScript debug window
JS Code Coverage Debug

Client Side Scripting Best Practices
Server Side Scripting Best Practices

Flow Designer

Using Flow Designer Objectives
About This Learning Module
Exercise: Fork Repository and Import Application for the Using Flow Designer Module
Exercise: Create a Branch for the Using Flow Designer Module
What is a Flow?
Flow Designer User Interface
Opening Flows
Exercise: View a Flow
Deleting Flows
Creating Flows
Flow Tab Anatomy
Triggering Flows
Record Triggers
Date Triggers
Application Triggers
Adding Actions to a Flow
Saving Flows
Using Flow Variables
Using Error Handler
Exercise: Create a Flow
Testing Flows
Viewing Flow Execution Details
Activating Flows
Running Flows with Alternate Permissions
Exercise: Test a Flow
Exercise: Activate a Flow
Configuring the Ask for Approval Action
Exercise: Add Approval
Flow Logic
Adding If Branches
Adding For Each Branches
Adding Do the Following Until Branches
Adding Do the Following in Parallel Branches
Adding Non-Branching Flow Logic
Exercise: Add Flow Logic
Exercise: Save Your Using Flow Designer Work (Optional)
Test Your Using Flow Designer Knowledge
Flow Designer Recap

Developing for Flow Designer
Developing for Flow Designer Objectives
About This Learning Module
Exercise: Fork Repository and Import Application for the Developing for Flow Designer Module
Exercise: Create a Branch for the Developing for Flow Designer Module
Working with Spokes
Action Anatomy
Creating Actions
Adding Steps
Configuring Script Steps
Testing Actions
Exercise: Create an Action
Adding Action Inputs
Adding Action Outputs
Publishing Actions
Exercise: Add Action Inputs and Outputs
What is a Subflow?
Subflows Versus Actions
Creating Subflows
Adding Subflow Inputs
Adding Subflow Outputs
Assigning Subflow Outputs
Testing Subflows
Publishing Subflows
Using Subflows
Exercise: Create and Test a Subflow
Exercise: Use a Subflow
Challenge: Create Scheduled Flow to Update Overdue NeedIt Tasks
Scripting with Flows, Subflows, and Actions
Exercise: Create and Use Code Snippets
Exercise: Save Your Developing for Flow Designer Work (Optional)
Test Your Developing for Flow Designer Knowledge
Developing for Flow Designer Recap

Notifications in Flow Designer
Notifications in Flow Designer Objectives
About This Learning Module
Exercise: Fork Repository and Import Application for the Notifications in Flow Designer Module
Exercise: Create a Branch for Notifications in Flow Designer
Notifying Users from a Flow
Outbound Communication Actions
Exercise: Get a Temporary Email Address
Exercise: Send a Notification
Outbound Email Configuration
Exercise: Outbound Email Configuration
Exercise: Receive an Email
Inbound Email and Flows
Parsing Inbound Email Details for a Flow
Identifying the Sender
Creating Inbound Email Flows
Exercise: Inbound Email Configuration
Exercise: Create Inbound Email Flow
Exercise: Save Your Notifications in Flow Designer Work (Optional)
Notifications in Flow Designer Module Recap

Advanced JavaScript

Introduction to JavaScript
1 JavaScript syntax editor
2 Syntax editor plugin
3 Context menu in the syntax editor
4 Script syntax error checking
5 Searching for errors by line

Introduction to JavaScript

1 JavaScript engine on the platform
2 JavaScript modes
3 JavaScript engine feature support
4 JavaScript API Context-sensitive help

Introduction to JavaScript

1 Functions
2 try/catch/finally statements
3 ServiceNow GlideRecord
4 Introduction to arrays
5 Array forEach
6 Common array methods
7 ServiceNow ArrayUtil
8 Functions and arrays
9 Functions with multiple parameters

Introduction to JavaScript
1 Introduction to objects
2 Checking if an object has a property
3 Finding all properties in an object
4 Arrays of Objects
5 JSON Stringify and Parse
6 More string methods
7 Recursion
8 Classes

Introduction to JavaScript
1 Passing objects to functions
2 Class Inheritance
3 Scripted REST APIs
4 Exercise : Build a scripted REST API
5 Build a script include
6 Helpful resources

Learn MORE JavaScript on the ServiceNow Platform with Earl Duque
1 Section 2 Introduction
2 The for…in loop
3 Exercise – The for…in loop
4 Understanding “this”
5 Exercise – Understanding “this”
6 More on scope
7 Lesson 4 – Hoisting
8 Exercise – Hoisting

Learn MORE JavaScript on the ServiceNow Platform with Earl Duque
1 Date and Time
2 Exercise – Date and Time
3 Regular Expressions (RegEx)
4 Exercise – Regular Expressions (RegEx)
5 The practice of Namespacing
6 Exercise – The practice of NameSpacing
7 GlideSystem (more than just gs.info!)
8 GlideAggregate
9 Exercise – GlideAggregate

Learn MORE JavaScript on the ServiceNow Platform with HackNow

1 GlideDateTime
2 GlideUser
3 GlideAjax
4 GlideForm (g_form)
5 Exercise – GlideForm (g_form)
6 GlideQuery
7 Exercise – GlideQuery

Learn ECMAScript 2021 on the ServiceNow Platform with HackNow
1 Strings – Template literals
2 Strings – String padding
3 “Strings – New string methods like startsWith(), endsWith(),
trimStart(), and trimEnd()”
4 “Strings – Even more string methods like
matchAll() and includes()”
5 Functions – Arrow functions
6 Functions – Default Parameters
7 Functions – Rest and Spread Operators
8 Functions – the Name property
9 Functions – Trailing commas in function syntax

Learn ECMAScript 2021 on the ServiceNow Platform with HackNow
1 Objects – Object Literal Enhancements
2 Objects – More on Classes
3 Objects – Symbols
4 Objects – Optional chaining
5 “Objects – New methods like Object.entries(), Object.values(),
Object.fromEntries(), and Object.getOwnPropertyDescriptors()”
6 Arrays – The for..of Loop
7 Arrays – Maps and Sets
8 Arrays – More utility functions like .from() and .of()
9 Arrays – New methods like flatMap() and flat()

 

 

 

 

 

 

Our Courses