Course Summary

Attend Scripting in ServiceNow Fundamentals to learn how you 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.

• 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

Module 1: Scripting Overview
• Using the Syntax Editor
• Syntax Checking
• Explore Scripting Resources

Module 2: Client Scripts
• Two Simple Client Scripts
• g_form and g_user
• Debugging Client Scripts

Module 3: UI Policies
• Incident State Resolve/Closed

Module 4: Catalog Client Scripts & Catalog UI Policies
• Control Variable Choices Catalog Client Script
• Control Out of State Shipping Catalog UI Policy

Module 5: Business Rules
• Debugging Business Rules
• Current and Previous
• Display Business Rules and Dot-walking

Module 6: GlideSystem
• Setting the CAB Date
• Re-open Problem Date Validation

Module 7: GlideRecord
• Two GlideRecord Queries
• RCA Attached: Problem and Child Incidents
• addEncodedQuery()
• Explore GlideQuery
• Script Includes
• Classless Script Include (logPropertyValues)
• Classless Script Include (hasRoleExactly)

Module 8: Script Includes (continued)
• Create a New Class
• HelloWorld GlideAjax
• Number of Group Members
• JSON Object

Module 9: UI Actions
• Client-Side UI Actions
• Server-Side UI Actions
• Client and Server-Side UI Actions

Module 11: Scripting with Flow Designer
• Build a Flow
• Trigger a Subflow
• Add a Script to a Flow

It is recommended that you have: • Intermediate-level ability to write, test and debug JavaScript • Familiarity with database tables and columns

Upon successful completion of the course, delegates will receive a certificate of completion, acknowledging their proficiency in the subject matter.

Following your booking, a confirmation message will be sent to all participants, ensuring you're well-informed of your successful enrollment. Calendar placeholders will also be dispatched to assist you in scheduling your commitments around the course. Rest assured, all course materials and access to necessary labs or platforms will be provided no later than one week before the course begins, allowing you ample time to prepare and engage fully with the learning experience ahead.

Our comprehensive training package includes all the necessary materials and resources to facilitate a full learning experience. Enrollees will be provided with detailed course content, encompassing a wide array of topics to ensure a thorough understanding of the subject matter. Additionally, participants will receive a certificate of completion to recognize their dedication and hard work. It's important to note that while the course fee covers all training materials and experiences, the examination fee for certification is not included but can be purchased separately.

Questions About This Course?