From Update Sets to Source Code: Getting Started with now-sdk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11m ago
If you have spent years building on ServiceNow, update sets are probably second nature. You create a scope, click through forms in Studio, capture your changes, preview, commit, and hope nothing got missed along the way.
For over a decade, that workflow got the job done. However, with the introduction of now-sdk and ServiceNow’s Fluent language, greenfield scoped application development is shifting toward a modern, source-based model—and it solves several long-standing headaches for platform teams.
What now-sdk Is and How It Works
Instead of clicking through UI forms to define application metadata, now-sdk lets you define tables, business rules, ACLs, flows, and script includes directly in TypeScript using .now.ts files.
In recent releases (such as now-sdk 4.14), the core workflow revolves around four straightforward CLI commands:
now-sdk init: Initializes a brand-new project or converts an existing scoped application from an instance into local source files.
now-sdk transform: Converts traditional XML records into clean Fluent TypeScript code.
now-sdk build: Compiles your .now.ts source files into an installable application package.
now-sdk install: Deploys the compiled package directly onto a ServiceNow instance.
Why It Matters for Platform Teams and AI Workflows
Moving from XML update sets to a code-first repository changes how teams collaborate and build:
Git-Native History and Reviews: When your application lives in a Git repository, you get real commit histories, line-by-line diffs, pull request reviews, and reliable rollbacks. You no longer have to piece together what changed by digging through old update sets or relying on tribal knowledge tied to story numbers.
Built for AI Coding Agents: Modern AI coding assistants excel at reading text files, generating structured TypeScript, and proposing diffs. Navigating multi-tab visual forms inside Studio is slow and error-prone for AI; editing .now.ts files is fast, transparent, and easy to review.
The Greenfield Sweet Spot: When building a new scoped app from scratch to a v1 release, the repository is the application. You eliminate the friction of managing local update sets or worrying about uncaptured records left behind in a dev instance.
One Caveat: Governance and Auditability
Before diving in, platform teams should align on how source control maps back to governance. Make sure you establish clear conventions for linking Git commits and pull requests to Jira or Agile Development stories. Auditors still need a clear human approval trail showing why a change was made—and "the AI agent wrote it" won't pass an audit review.
What’s Next?
Greenfield development is where now-sdk shines brightest today. Maintaining and patching existing production applications alongside ongoing backlog stories introduces a different set of branching and deployment patterns—a topic worth exploring in a follow-up post.
Have you started experimenting with now-sdk and Fluent in your ServiceNow projects? Share how your team is handling source control and code reviews in the comments below!