Skip to main Content

ServiceNow Scripting in ServiceNow Fundamentals

  • Course Code SNSSF
  • Duration 3 days

Virtual Learning Price

£2,190.00

excl. VAT

Request Group Training Add to Cart

Course Delivery

This course is available in the following formats:

  • Company Event

    Event at company

  • Elearning (Self-paced)

    Self paced electronic learning

  • Public Classroom

    Traditional Classroom Learning

  • Virtual Learning

    Learning that is virtual

Request this course in a different delivery format.

Course Overview

Top

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.

Course Schedule

Top
    • Delivery Format: Virtual Learning
    • Date: 15-17 May, 2024
    • Location: Virtual

    £2,190.00

    • Delivery Format: Virtual Learning
    • Date: 03-05 June, 2024
    • Location: Virtual

    £2,190.00

    • Delivery Format: Virtual Learning
    • Date: 26-28 June, 2024
    • Location: Virtual

    £2,190.00

    • Delivery Format: Virtual Learning
    • Date: 17-19 July, 2024
    • Location: Virtual

    £2,190.00

    • Delivery Format: Virtual Learning
    • Date: 05-07 August, 2024
    • Location: Virtual

    £2,190.00

    • Delivery Format: Virtual Learning
    • Date: 28-30 August, 2024
    • Location: Virtual

    £2,190.00

Target Audience

Top

ServiceNow System Administrators, with a minimum of three to six months experience configuring and developing the platform, who wish to extend the functionality of their instance.

Course Objectives

Top

After you complete this course you will be able to:

  • Determine when and where it is appropriate to script
  • Use ServiceNow’s built-in text editor
  • Script client-side with o Client Scripts
  • UI Policies
  • Catalog Client Scripts & Catalog UI Policies
  • Script server-side with o Business Rules
  • GlideSystem
  • GlideRecord
  • Script Includes
  • UI Actions
  • Flow Designer
  • Use ServiceNow’s scripting best practices

Course Content

Top

Scripting Overview

  • Lab 1.1: Using the Syntax Editor
  • Lab 1.2: Syntax Checking
  • Lab 1.3: Explore Scripting Resources

Client Scripts

  • Lab 2.1: Two Simple Client Scripts
  • Lab 2.2: g_form and g_user
  • Lab 2.3: Debugging Client Scripts

UI Policies

  • Lab 3.1: Incident State Resolve/Closed

Catalog Client Scripts & Catalog UI Policies

  • Lab 4.1: Control Variable Choices Catalog Client Script
  • Lab 4.2: Control Out of State Shipping Catalog UI Policy

Business Rules

  • Lab 5.1: Debugging Business Rules
  • Lab 5.2: Current and Previous
  • Lab 5.3: Display Business Rules and Dot-walking

GlideSystem

  • Lab 6.1: Setting the CAB Date
  • Lab 6.2: Re-open Problem Date Validation

GlideRecord

  • Lab 7.1: Two GlideRecord Queries
  • Lab 7.2: RCA Attached: Problem and Child Incidents
  • Lab 7.3: addEncodedQuery()
  • Lab 7.4 Explore GlideQuery

Script Includes

  • Lab 8.1: Classless Script Include (logPropertyValues)
  • Lab 8.1A: Classless Script Include (hasRoleExactly)

Script Includes (continued)

  • Lab 8.2: Create a New Class
  • Lab 8.3: HelloWorld GlideAjax
  • Lab 8.4: Number of Group Members
  • Lab 8.5: JSON Object

UI Actions

  • Lab 9.1: Client-Side UI Actions
  • Lab 9.2: Server-Side UI Actions
  • Lab 9.3: Client and Server-Side UI Actions

Scripting with Flow Designer

  • Lab 10.1: Build a Flow
  • Lab 10.2: Trigger a Subflow
  • Lab 10.2: Add a Script to a Flow

Course Prerequisites

Top

Attendees should meet the following prerequisites:

  • Intermediate-level ability to write, test and debug JavaScript
  • Familiarity with database tables and columns
Recommended prerequisites:
Cookie Control toggle icon