- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
I’ve been moving work between SN instances with update sets for 14 years. Long enough to have opinions about collisions, batching, and "How did that one record the whole solution hinges on NOT get Captured!?"
So when I say now-sdk changed how we build, I don’t say it lightly. One caveat up front though. What I’m describing here is building an enterprise-grade scoped app from scratch to completion. Maintaining an app that’s already in production by working a backlog of stories is a different job, and I’ll give that one its own post.
A quick orientation if you're thinking, "now-what?" now-sdk is ServiceNow’s SDK for building scoped apps from source. You define the app’s metadata (tables, business rules, ACLs, flows, script includes) in TypeScript using ServiceNow’s Fluent language, in files ending in .now.ts. Then:
now-sdk build compiles the source into an installable package.
now-sdk install deploys it to an instance.
now-sdk init starts a new app, or converts an existing app from an instance into a project.
now-sdk transform pulls XML records and turns them into Fluent source.
(That’s as of version 4.14. It moves fast, so check --help on whatever you’ve installed.)
Why does this matter for AI? Because an agent lives in files. Reading text, changing text, and showing you a diff of the change is exactly what it’s good at. Clicking through forms in Studio is not. Fluent puts the whole app where the agent can see it, and it puts every change into git, where you can see it. History, review, and rollback come along for free.
That last part is the one the platform team should care about most. With update sets, “what changed and why” lived in people’s heads and in story numbers. In a repo, it’s a commit with a message and a reviewer.
For a greenfield app, that’s the whole game. The repo is the app. Every table, rule, and ACL exists because a commit put it there, and the agent can reason about all of it at once. When we build a scoped app from nothing to a shippable version, nobody opens an update set, and nobody misses them.
One caution even here: decide up front how commits map to stories. Somebody will eventually ask who approved a change, and “the agent did it” is not an answer an auditor accepts.
Want to try it without risk? Grab a PDI, run init to start a fresh app, build it, install it. Then run transform against something you built the old way and read your own work as code. It’s a little humbling.
But what about the backlog? Most SN teams spend their days enhancing apps that already exist, and update sets tied to stories are how they do it. That’s next.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.