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
Other Popular Courses
Mastering Communication & Presentation Te...
- Duration: 4 Days
- Language: Danish
- Level: Intermediate
- Exam: MCPT
Next Generation Mindfulness
- Duration: 1 Days
- Language: English
- Level: Foundation
- Exam: NGM
Nutanix Multicloud Infrastructure Design (NMC...
- Duration: 1 Days
- Language: English
- Level: Advanced
- Exam: Nutanix Certifi