The query cookbook: every GlideRecord pattern worth memorizing
One page of GlideRecord patterns done right: encoded queries, OR conditions without surprises, GlideAggregate, pagination, and the security layer everyone forgets.
G&G ~ servicenow x ai field notes
A field journal for builders working where ServiceNow meets AI. Practical posts on Now Assist, AI agents, RAG over the Now Platform, and shipping intelligent workflows.
One page of GlideRecord patterns done right: encoded queries, OR conditions without surprises, GlideAggregate, pagination, and the security layer everyone forgets.
A practical study guide for the ServiceNow CIS-SPM exam: the portfolio hierarchy, demand management, resource plan states, agile and waterfall together, and a six week plan with PDI labs.
Most orgs are stuck with pilots that never become a program. A five-stage maturity model for scaling agents, and the trap of scaling before governance.
The three shapes of a script include, a worked TaskUtils example, client-callable boundaries, scoped API design, and how to actually test the thing.
Prompting a platform skill is a different craft from prompting a chatbot. The patterns that hold up, schema-anchored, grounded, single-purpose, and the anti-patterns that quietly fail.
Generative AI breaks the assumption ATF is built on: same input, same output. Testing non-deterministic workflows with property checks, evaluation sets, and adversarial guardrail tests.
Compliance stalls agentic programs when it is a gate at the end instead of a property built in. Operationalizing NIST and EU AI Act controls with AI Control Tower, without slowing down.
Scheduled script executions for recurring work, the event queue for reacting to it, and the fire-the-event, do-the-work-elsewhere pattern that keeps both honest.
Agents change the shape of your database load from a human trickle to a machine flood. Why data-tier performance becomes a first-class constraint on scaling autonomy.
HR service delivery offers a clean maturity ladder from policy lookups to cross-department onboarding orchestration. Climb it in order, and skip a rung at your peril.
Who the CIS-HRSD exam is really for, how the COE data model works, why HR security is its own animal, and a six week study plan with hands-on PDI labs.
A voice agent is not a chatbot with a microphone. The three constraints that reshape the design, latency, no undo, and turn-taking, and why graceful escalation beats heroics.
Security is where the audit bar is highest. How SecOps AI agents accelerate summarization, correlation, and case wrap-up while the analyst keeps the judgment.
Same JavaScript, different discipline. When to explore in the background script box and when to ship a fix script that travels with your release.
At production scale, tokens are a line item and latency is felt on every call. Where the tokens go, matching the model to the task, and measuring cost per resolution, not per call.
AIOps used to stop at a smarter alarm. The technical chain from ingestion to anomaly detection to autonomous remediation, and the boundary discipline that makes self-healing safe.
It looked good in the demo is not QA. Building a representative test set, scoring groundedness explicitly, and regression-testing skills after every change, no data-science team required.
Everyone talks about agents and nobody talks about the data plumbing that decides whether they are brilliant or useless. Why Workflow Data Fabric, not the agents, is the real moat.
Before, after, async, or display. A decision-shaped recipe for the four business rule timings, the double-update bug, the async previous gotcha, and the discipline that keeps rules maintainable.
Most of your alerts are noise because the threshold is static. How learned baselines and anomaly detection cut the noise, and the tuning period that is the honest catch.
A big-picture read on the shift from workflow to system of action to autonomous workforce, three predictions, and the one thing that could derail it.
A field guide to the CIS-Discovery exam: MID Servers, credentials, the four discovery phases, patterns, and the IRE knowledge that actually decides who passes.
The GA MCP Server lets external agents take governed actions in ServiceNow. Expose one narrow action, scope the identity, log everything, and avoid building a remotely-callable backdoor.
The failure modes nobody puts in the demo: stale grounding data, automating broken processes, the trust cliff, and silent drift.
An agent you cannot observe is one you cannot debug, trust, or govern. What to log per agent run, why selection traces matter most, and connecting to AI Control Tower before you scale past ten.
The client script needs server data and there are three ways to get it, two of them wrong. The complete client-callable pair, the security angle nobody teaches, and when g_scratchpad is the better answer.
Your agents are only as good as the data they ground on, and most CMDBs are part fiction. The unglamorous, highest-impact prep: accuracy, freshness, ACL hygiene, and structure for retrieval.
ServiceNow wants to be the control layer for agents across every vendor's systems. Assessing the ambition, and the concentration risk for buyers.
Everything the CIS-EM exam actually tests: the event pipeline, message key deduplication, CI binding, alert correlation, and service health, with a six week plan and PDI labs.
A dry-run-first recipe for deleting a few hundred thousand stale records safely. Count first, log what would change, flip one flag by hand, and keep a grep-able trail.
Guardrails are not a slide, they are configuration. Placing every action on the autonomy spectrum, enforcing prohibitions with AI Guardian, and gating the risky five percent.
ServiceNow restructured pricing around levels of autonomy. Decoding the assistance, agentic, and autonomous tiers, and which rung your work actually needs.
Your UI Action works perfectly in the classic UI and is simply not there in the workspace. One checkbox and one new script field fix that. A complete escalate button, start to finish.
The agents that move your metrics fire on platform events, not chat. Wiring event-driven agents in Flow Designer: precise triggers, tight context, deliberate branching, real error handling.
Non-human identities are about to outnumber your employees. The under-told security story of managing agents and the blast radius of one compromised actor.
A working architect's guide to the CIS-CSM exam: the account, contact, and consumer model, the case lifecycle, the entitlement trap, and a six week plan with hands-on PDI labs.
An agent is only as good as its tools, and a tool is judged by whether the agent calls it correctly. Descriptions as prompts, input contracts, idempotency, and testing tool selection.
Every tech wave creates a new job. Meet agent ops, the discipline of governing agents at runtime, and the tooling ServiceNow put behind it.
When one agent with a pile of tools starts picking wrong and looping, it is time to decompose. A field guide to the AI Agent Orchestrator, the patterns that work, and the costs nobody mentions.
ServiceNow now ships AI specialists as workforce. What that means for headcount, the career ladder, and managing a mixed human and agent team.
A working developer's guide to the CAD: scoped apps, server and client scripting, Flow Designer, ATF, and deployment, with a six week plan and PDI labs that build a real application.
Open up the similarity model: doc2vec turns messy record text into vectors that match meaning, not keywords. Why matches degrade, and how to tune with the word corpus.
One firm deflected 38,000 tickets and cut resolution time by two full days. The counterintuitive reason deflection helps the tickets that remain.
RAG on the Now Platform is a concrete component, a retriever wired into a custom skill. Where retrieval quality leaks, and how to test it separately from generation.
Two distinct AI engines, and reaching for the LLM when a cheap classifier would win is a design error. A real decision framework for Predictive Intelligence versus Now Assist.
Zurich shipped vibe coding for the enterprise. A skeptic's field guide to Build Agent: the real magic, the governance nightmare, and who it is for.
The complete start-from-zero guide to the CSA: what the exam actually tests, the platform concepts that matter, a six week study plan, PDI labs, and the traps in the questions.
Why ServiceNow built NowLLM instead of just calling a frontier model, and the build-versus-rent lesson any technical leader can steal.
Hallucination on ServiceNow is mostly a grounding problem, and grounding is something you control. The engineering fixes that make answers trustworthy.
When NowLLM is not enough: a decision framework and walkthrough for wiring a third-party model through the generic LLM connector.
The GA MCP Server lets Claude, Copilot, or your own agent take governed actions in ServiceNow. A practical, security-first integration guide.
The leap most tutorials skip: composing modular skills into an AI Agent that reasons about which tool to use, built in AI Agent Studio.
You will not train a model. A hands-on walkthrough of building your first Now Assist skill in NASK, from input schema to Virtual Agent.
A Now Assist skill is not a saved prompt. A look under the hood at schemas, grounding, and model routing, and why the prompt is the easy 20 percent.
Your employees already paste tickets into a chatbot tab. The honest case for when the embedded AI wins, and it is not about better writing.
ServiceNow says the bolt-on AI panel is dead. Here is what AI-native actually changes for your daily work, and what it quietly changes about your bill.
Reverse-engineering a documented win: 11 million autonomous resolutions, 230 percent ROI, and the boring decision that made it work.
The chatbot is the least interesting thing AI does on the platform. Five silent, behind-the-scenes use cases where nobody talks to a bot.