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
💡 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.