1. Go to System Applications –> Applications
2. Click Edit
3. Go to File –> Publish
4. Change the version to higher than the previous one (if published before), enter the Notes if required the click Submit.
5. Follow the progress bar and wait it completes
6. On the target instance, go to All > System Applications > My Company Applications
7. Click Install and wait till it completes
How to publish applications via repository in ServiceNow
Working Code Edited question November 25, 2023