HomeStudy GuidesScripting & APIs

Scripting & APIs

ServiceNow CAD Study Guide

Overview

Server-side scripting is the core of ServiceNow application development. The platform provides powerful APIs like GlideRecord for database operations, GlideSystem for system-level utilities, and GlideAjax for client-server communication. Understanding these APIs and their proper usage is fundamental to building reliable, performant applications.

Why It Matters for the Exam

Scripting & APIs is the largest domain on the CAD exam at 25%. Questions test your ability to write effective server-side scripts, use the correct API for the right situation, and understand scripting contexts. Expect questions about GlideRecord queries, GlideSystem methods, and debugging techniques.

Key Concepts to Master

1GlideRecord queries and CRUD operations
2GlideSystem utility methods
3GlideAjax client-server communication
4GlideAggregate for reporting
5Script debugging and logging
6Server-side scripting contexts
7Flow Designer scripting actions
8Scoped vs global scripting

💡 Exam Tips & Strategy

Know the difference between getValue() and getDisplayValue(). Understand addQuery(), addEncodedQuery(), and query chaining. Be familiar with GlideAggregate for counting and summing. Remember that GlideRecord scripts run on the server while g_form scripts run on the client.

24
Practice Questions
25%
Exam Weight
CAD
Certification