How do you handle version control when building with ServiceNow SDK & Fluent?

sortanderw
Kilo Contributor

Hey everyone 👋

I’ve recently started using the ServiceNow SDK with Fluent for app development, and it’s been great for managing metadata as code — but version control is getting a bit tricky.

When multiple  are working on the same app, it’s hard to keep everything in sync without overwriting someone’s changes.

How are you all handling Git workflows with ServiceNow SDK projects?
Do you follow any specific branch structure or merge strategy that works best for team development?

You can check the official ServiceNow SDK docs for some guidance, but I’d love to hear real-world tips from other developers too ⚙️

#ServiceNow #Fluent #SDK #Developers #VersionControl

2 REPLIES 2

AndersBGS
Tera Patron
Tera Patron

Hi @sortanderw ,

 

First of all, we haven't started the journey ourself, but have planned to look into this in 2026. But nothing the less, I would recommend you to look into this youtube video, which I believe give answers to some of your questions: https://youtu.be/FmzU7HYlV-g

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Brady Holliday
Tera Guru

Hey @sortanderw,

 

We follow a standard of WIP/feature branch -> dev -> test -> production.

 

The dev, test, and production branches are all locked down and require a Pull Request and Approval from a teammate.

 

The WIP branch, or work-in-progress branch is generally developer specific and relates to a Jira story, incident, or other ticket number. When sandboxes are available for us to use this would ideally be what developers are using to develop and push into the sandbox instance. When ready, they would merge and deal with any conflicts within the Pull Request from the WIP branch to the dev branch.

 

We do utilize a CI/CD tool to migrate the code from branch to branch after the initial PR into the dev branch.

 

The actual version of the application does get a little tricky because that is defined when you publish the application from the instance into ServiceNow's repo (which last I checked was recommended for deploying to production). Currently, you can update the 'version' of the app in the package.json, but it doesn't really mean anything to us at the moment because that version is not related to what is published into ServiceNow's repo.

 

What we have done in the interim is to utilize our CI/CD job id to determine the version of the app that gets deployed into production.

 

I don't feel like we are all the way there from a maturity standpoint, but we have made gains to develop and migrate code in a more standardized way (with most of the diversion from the standard happening when trying to go to PROD due to how the application gets published from the instance rather than from the SDK).

 

Hope this helps you on your path!

Brady Holliday