ServiceNow Xanadu: The Most Important New Features for Developers and Admins

A practical breakdown of ServiceNow Xanadu and the developer features worth knowing: GlideQuery, Flow Designer updates, Now Assist expansions, and what you need to update in your instance.

Xanadu is one of the most developer-focused releases ServiceNow has shipped in recent memory. Rather than walking through every release note, this article covers the changes that actually affect how you write code and build on the platform every day.

1. GlideQuery for Server-Side Scripts

GlideQuery is an alternative to the GlideRecord API for performing CRUD operations in server-side scripts. It requires the GlideQuery (com.sn_glidequery) plugin, and in a scoped app it must be prefixed with the global scope. The API is significantly cleaner than equivalent GlideRecord patterns. The GlideQuery reference does not describe it as a Xanadu change, so treat it as a general option for server-side scripts.

The key difference: GlideQuery uses standard JavaScript objects and types for queries and results, so you read fields as plain JavaScript values.

// Old pattern
var gr = new GlideRecord('incident');
gr.addEncodedQuery('active=true^priority=1');
gr.query();
while (gr.next()) {
    var num = gr.getValue('number');
    var caller = gr.getValue('caller_id');
}

// GlideQuery pattern
new GlideQuery('incident')
    .where('active', true)
    .where('priority', 1)
    .select('number', 'caller_id')
    .forEach(function(incident) {
        // incident.number and incident.caller_id are plain strings
    });

2. Flow Designer — Enhanced Error Handling

Flow Designer has a flow error handler. When you enable it, the flow shows an Error Handler section that runs when the flow catches an error, and you can add up to 10 items (actions, flow logic, or subflows) to it.

The practical impact: flows that call external REST APIs can now gracefully handle timeouts and 5xx responses without the flow failing silently or requiring a separate monitoring job.

3. Now Assist — Script Generation in Studio

Now Assist in Studio can now generate GlideRecord scripts, Business Rule skeletons, and REST API call patterns from natural language descriptions. The generated code is not production-ready without review, but it eliminates the boilerplate scaffolding that slows down initial development.

Key point: treat the generated code as a starting point, not a finished solution. The AI does not know your instance's custom fields, naming conventions, or business rules. Always review before committing to an Update Set.

4. Automated Test Framework: Parallel Testing

ATF supports parallel testing, which runs multiple tests and test suites in parallel. The number of parallel tests is max(1, number of worker threads - 2), and when the system reaches that limit it reschedules tests to run later. The combined ATF release notes list no new features or changes for Xanadu, so parallel testing is an existing ATF capability to know about, not a Xanadu addition.

5. CMDB — Identification Engine Improvements

The Identification and Reconciliation Engine received significant updates in Xanadu. The most impactful change: duplicate detection now runs automatically during Discovery without a separate scheduled job. CIs with matching serial numbers or MAC addresses are flagged in real time rather than waiting for a nightly dedup run.

If you have existing dedup scheduled jobs, review whether they're still necessary — running both can cause conflicts.

6. IntegrationHub: Additions in Xanadu

The Xanadu IntegrationHub release notes include:

IntegrationHub also has retry policies, which you can create for JDBC, REST, and SOAP steps. They are not listed in the Xanadu IntegrationHub release notes, so they are not a Xanadu addition, but they are worth setting up for production integrations because a failed step can retry automatically instead of being triggered again by hand.

What to Update First

If you're upgrading to Xanadu, prioritise these checks before go-live:

  • Review any scripts that use deprecated GlideRecord patterns flagged in the upgrade scanner
  • Test all IntegrationHub REST steps — the OAuth handling changes can break existing connections
  • Verify Flow Designer error handling on any flows calling external APIs
  • Check ATF test results — parallel execution sometimes surfaces timing issues that sequential runs miss

Xanadu upgrade considerations for existing instances

Upgrading to Xanadu from an earlier release requires the same preparation as any major ServiceNow upgrade: run an Instance Scan on your pre-upgrade instance to identify potential conflicts, clone production to a test instance, apply the upgrade on the test instance first, and validate critical Business Rules, integrations, and workflows before approving the production upgrade.

Xanadu-specific considerations:

  • GlideQuery is an alternative to the GlideRecord API. It is not a Xanadu upgrade item, so use it in new scripts where the cleaner syntax suits you
  • Enhanced Flow Designer error handling — existing flows using workaround error handling patterns should be reviewed and may benefit from refactoring to use the new Error Handler step type
  • Now Assist plugin activation — Xanadu includes the base Now Assist plugins but they must be explicitly activated. They do not auto-activate on upgrade.
  • RaptorDB migration — if your instance is being migrated to RaptorDB, ServiceNow manages this separately and it does not affect the application upgrade process

Related: Cloning instances for pre-upgrade testing · Instance Scan for upgrade readiness · Update Sets for change management around the upgrade

GlideQuery patterns to adopt

GlideQuery is an alternative to GlideRecord, so here is a practical comparison of equivalent GlideRecord and GlideQuery patterns to help you adopt it in new code:

// GlideRecord — traditional (still works, still valid)
var gr = new GlideRecord('incident');
gr.addEncodedQuery('active=true^priority=1');
gr.query();
var results = [];
while (gr.next()) {
    results.push({
        number: gr.getValue('number'),
        state: gr.getValue('state'),
        assigned: gr.getDisplayValue('assigned_to')
    });
}

// GlideQuery for new code
var results = new GlideQuery('incident')
    .where('active', true)
    .where('priority', 1)
    .select('number', 'state', 'assigned_to')
    .toArray(100); // returns plain JS objects directly
// results[0].number is a plain string — no getValue() needed

GlideQuery's advantage is clarity: queries and results use standard JavaScript objects and types, and the method chain reads like the intent. For new straightforward queries, use GlideQuery. For existing code, GlideRecord remains a valid choice.

Flow Designer error handling — the practical change

Before Xanadu, handling errors in Flow Designer REST calls required workarounds: branching on a response code variable, using a subflow that returns a status, or accepting that failed API calls would either halt the flow or silently continue. The new Error Handler step type in Xanadu makes this explicit:

// Flow structure with Error Handler
[Trigger] → [Try block]
    → [REST step: Call External API]
    → [Action step: Process Response]
[Catch block]
    → [Log error to custom table]
    → [Create incident for integration failure]
    → [Notify on-call engineer]

Every Flow Designer integration that calls external REST APIs should be reviewed and updated to use the Error Handler pattern in Xanadu. Flows without error handling silently fail or halt in ways that are difficult to diagnose. See Flow Designer error handling guide for implementation details.

Security improvements in Xanadu

Xanadu includes several security improvements relevant to developers and admins. Cross-Site Scripting (XSS) protection enhancements restrict certain previously-allowed patterns in UI scripts and Client Scripts — if your instance has older Client Scripts that manipulate DOM directly, these may need review. Scoped application ACL enforcement is stricter in Xanadu — cross-scope access that previously worked through an oversight may now throw explicit access errors. Run your full regression test suite on a clone before upgrading production. The Instance Scan security category is particularly valuable post-Xanadu-upgrade as it surfaces ACL gaps that the stricter enforcement will now catch at runtime.

Now Assist in Xanadu — the activation path

Now Assist for ITSM, CSM, HRSD, and Creator launched in the Vancouver release, and Xanadu added items such as the Now Assist Skill Kit and Now Assist for Security Operations and for Sourcing and Procurement Operations. Check which Now Assist capabilities your release includes before you plan activation. After upgrading to Xanadu, follow the activation guide to enable specific capabilities. The base Now Assist Platform plugin (com.sn_now_assist) must be activated first, followed by feature-specific plugins for ITSM, developer, and HR capabilities. Activation does not happen automatically on upgrade — it requires explicit admin action.

Related: Australia release (next release) · RaptorDB · Now Assist activation · Cloning for upgrade testing

NowSpectrum covers every major area of the ServiceNow platform with practical articles written by people who build on it daily. The platform evolves quickly and staying current on releases, new APIs, and best practices is essential for practitioners who advise clients, lead implementations, or work toward senior developer and architect roles. Each release brings new capabilities worth understanding and previous patterns worth reviewing. Use the NowSpectrum article library as your reference for both new features and foundational platform knowledge. The free weekly newsletter delivers one practical tip per week

Xanadu in context — where it sits in the release history

Xanadu is significant because it shipped more Now Assist capabilities as generally available, including the Now Assist Skill Kit, and because ServiceNow's RaptorDB announcement the same day made RaptorDB Standard available to new customers. See RaptorDB for the database side. These two changes together define what "modern ServiceNow" means in 2025–2026. Organisations still on pre-Xanadu releases are missing both the performance improvements and the AI capabilities. If your organisation is not yet on Xanadu, the upgrade planning process should treat it as a high priority — the gap between Xanadu and older releases is larger than a typical release gap. The cloning guide covers the pre-upgrade testing workflow, and the Australia release guide covers the following release you will be moving toward after Xanadu.

Xanadu is the baseline for modern ServiceNow in 2025–2026. If your instance is not yet on Xanadu, prioritise the upgrade path. If you are already on Xanadu, the Australia release guide covers the next step. For practitioners evaluating Xanadu features for their organisation, the Now Assist activation guide and implementation strategy are the most immediately actionable guides in the Xanadu feature set.

Xanadu marks the transition from "ServiceNow with AI features" to "AI-native ServiceNow." Every practitioner working on Xanadu and later releases operates in a fundamentally different platform than pre-Xanadu. The scripting fundamentals have not changed — GlideRecord, Business Rules, Flow Designer — but the context in which they operate, and the capabilities available above them, are substantially richer. Invest the time to understand what Xanadu adds; it is one of the more significant release milestones in the platform's history.

Sources

Developer patterns in one guide

The NowSpectrum Pro Tips and Tricks guide covers battle-tested patterns for Business Rules, Script Includes, GlideRecord, Flow Designer, and debugging.

Get the Pro Tips Guide →
← Back to all posts