glide-api-reference

Reference ServiceNow Glide server-side APIs with usage patterns and examples.

34|13|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/Happy-Technologies-LLC/happy-servicenow-skills --skill glide-api-reference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glide-api-reference
Source: https://github.com/Happy-Technologies-LLC/happy-servicenow-skills/tree/main/skills/development/glide-api-reference
Command: npx skills add https://github.com/Happy-Technologies-LLC/happy-servicenow-skills --skill glide-api-reference

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a concise, authoritative reference for ServiceNow's Glide server-side APIs to accelerate development and reduce lookup time.

Core Features & Use Cases

  • GlideRecord, GlideAggregate, GlideDateTime, GlideSystem, and GlideUser references with practical usage patterns.
  • Use cases include building Business Rules, Script Includes, Scheduled Jobs, and UI Actions with robust examples.

Quick Start

Query Glide APIs to implement a server-side script that retrieves incident data and formats the results.

Frequently Asked Questions about glide-api-reference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use GlideRecord to query incident data in a ServiceNow Business Rule?

Use GlideRecord in a Business Rule to query incident data by instantiating the class, adding query conditions, and calling next() to iterate through results for server-side processing.

What is the difference between GlideRecord and GlideAggregate for server-side scripting?

GlideRecord queries individual records for iteration, while GlideAggregate performs grouping and aggregation operations like sum or count directly in the database to reduce returned data.

Can I use GlideSystem and GlideUser APIs in Scheduled Jobs and Script Includes?

Yes, GlideSystem and GlideUser APIs are supported in Scheduled Jobs and Script Includes to access system functions, user session data, and perform server-side operations.

Does this Glide API reference provide examples for Claude Code and Cursor?

Yes, the reference provides structured metadata and usage examples designed for agentic AI systems including Claude Code, Claude Desktop, ChatGPT, and Cursor.

How do I format GlideDateTime results when retrieving server-side data?

GlideDateTime provides methods to retrieve and format date-time values server-side, allowing you to manipulate and display timestamps consistently across Business Rules and Script Includes.

What are the limitations of using GlideRecord for bulk data retrieval?

GlideRecord retrieves records iteratively which can impact performance on large datasets; GlideAggregate is recommended for grouping or counting to reduce data transfer and processing overhead.