
Course Information

Course Name
SSNF: Scripting in ServiceNow Fundamentals

Duration
3 Days
Certification
Overview
Attend Scripting in ServiceNow Fundamentals to learn how to use the ServiceNow JavaScript API. Take advantage of the extensibility of ServiceNow by adding new functionality or modifying the baseline behavior of an instance. This class begins with client-side scripting and transitions to server-side scripting. Attendees write, test and debug scripts using real-world, relevant lab exercises. The class features lecture and discussion as well as extensive hands-on practice and reinforcement of the lectures, delivered in a wide variety of lab activities.
During this interactive training course, attendees perform scripting functions in their own class instance. This provides an opportunity to practice and become comfortable with both client-side and server-side scripting.
Audience Profile
- Welcome to ServiceNow online course
- Flow Designer Overview course
- Intermediate-level ability to write, test and debug JavaScript
- Completion of Codecademy’s JavaScript course is recommended
- Completion of the JavaScript Principles primer (for those new to JavaScript)
- Familiarity with database tables and columns
Prerequisites
Students do not need to have any experience with Microsoft 365 before taking this course; however, a basic level of familiarity with computer technology and cloud computing is assumed.
At Course Completion
The course content and lab work help attendees learn to:
- Determine when and where it is appropriate to script
- Use ServiceNow’s built-in text editor
- Script client-side with:
- Client Scripts
- UI Policies
- Script server-side with:
- Business Rules
- GlideSystem
- GlideRecord/GlideQuery
- Script Includes
- Flow Designer
- Use ServiceNow’s scripting best practices
Course Outline
- Lab 1.1: Using the Syntax Editor
- Lab 1.2: Syntax Checking
- Lab 1.3: Explore Scripting Resources
- Lab 2.1: Two Simple Client Scripts
- Lab 2.2: g_form and g_user
- Lab 2.3: Debugging Client Scripts
- Lab 3.1: Incident State Resolve/Closed
- Lab 4.1: Debugging Business Rules
- Lab 4.2: Current and Previous
- Lab 4.3: Display Business Rules and Dot-walking
- Lab 5.1: Setting the CAB Date
- Lab 5.2: Re-open Problem Date Validation
- Lab 6.1: Two GlideRecord Queries
- Lab 6.2: RCA Attached: Problem and Child Incidents
- Lab 6.3: addEncodedQuery()
- Lab 6.4 Explore GlideQuery
- Lab 7.1: Classless Script Include (logPropertyValues)
- Lab 7.1A: Classless Script Include (hasRoleExactly)
- Lab 7.2: Create a New Class
- Lab 7.3: HelloWorld GlideAjax
- Lab 7.4: Number of Group Members
- Lab 7.5: JSON Object
- Lab 8.1: Build a Flow
- Lab 8.2: Trigger a Subflow
- Lab 8.3: Add a Script to a Flow
Overview
Overview
Attend Scripting in ServiceNow Fundamentals to learn how to use the ServiceNow JavaScript API. Take advantage of the extensibility of ServiceNow by adding new functionality or modifying the baseline behavior of an instance. This class begins with client-side scripting and transitions to server-side scripting. Attendees write, test and debug scripts using real-world, relevant lab exercises. The class features lecture and discussion as well as extensive hands-on practice and reinforcement of the lectures, delivered in a wide variety of lab activities.
During this interactive training course, attendees perform scripting functions in their own class instance. This provides an opportunity to practice and become comfortable with both client-side and server-side scripting.
Audience Profile
Audience Profile
- Welcome to ServiceNow online course
- Flow Designer Overview course
- Intermediate-level ability to write, test and debug JavaScript
- Completion of Codecademy’s JavaScript course is recommended
- Completion of the JavaScript Principles primer (for those new to JavaScript)
- Familiarity with database tables and columns
Prerequisities
Prerequisites
Students do not need to have any experience with Microsoft 365 before taking this course; however, a basic level of familiarity with computer technology and cloud computing is assumed.
At Course Completion
At Course Completion
The course content and lab work help attendees learn to:
- Determine when and where it is appropriate to script
- Use ServiceNow’s built-in text editor
- Script client-side with:
- Client Scripts
- UI Policies
- Script server-side with:
- Business Rules
- GlideSystem
- GlideRecord/GlideQuery
- Script Includes
- Flow Designer
- Use ServiceNow’s scripting best practices
Course Outline
Course Outline
- Lab 1.1: Using the Syntax Editor
- Lab 1.2: Syntax Checking
- Lab 1.3: Explore Scripting Resources
- Lab 2.1: Two Simple Client Scripts
- Lab 2.2: g_form and g_user
- Lab 2.3: Debugging Client Scripts
- Lab 3.1: Incident State Resolve/Closed
- Lab 4.1: Debugging Business Rules
- Lab 4.2: Current and Previous
- Lab 4.3: Display Business Rules and Dot-walking
- Lab 5.1: Setting the CAB Date
- Lab 5.2: Re-open Problem Date Validation
- Lab 6.1: Two GlideRecord Queries
- Lab 6.2: RCA Attached: Problem and Child Incidents
- Lab 6.3: addEncodedQuery()
- Lab 6.4 Explore GlideQuery
- Lab 7.1: Classless Script Include (logPropertyValues)
- Lab 7.1A: Classless Script Include (hasRoleExactly)
- Lab 7.2: Create a New Class
- Lab 7.3: HelloWorld GlideAjax
- Lab 7.4: Number of Group Members
- Lab 7.5: JSON Object
- Lab 8.1: Build a Flow
- Lab 8.2: Trigger a Subflow
- Lab 8.3: Add a Script to a Flow
Related Courses
