Legacy - Publish an application from ServiceNow Studio when linked to Source Control

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 3분
  • You can publish a custom application from ServiceNow Studio when linked to Source Control.

    시작하기 전에

    중요사항:
    Starting with the Xanadu release, the legacy version of ServiceNow Studio is being prepared for future deprecation. It will be hidden and no longer activated on new instances but will continue to be supported. For details on the deprecation process, see the Deprecation Process [KB0867184] article in the Now Support Knowledge Base.

    Try building and editing apps in the current version of ServiceNow Studio instead. For more information, see ServiceNow Studio.

    Role required: admin

    이 태스크 정보

    When you publish an application from ServiceNow Studio that is linked to Source Control, there is a different outcome than when you publish via the sys_app or sys_store_app Publish related link.

    프로시저

    1. When you select Publish, the sys_app or sys_app_customization record for the application is updated with the new version.
    2. The current state of the application is committed to Source Control, including any untracked or uncommitted changes.
      The value of the glide.sourcecontrol.default_commit_mode property is ignored.
      This occurs because when the application is published, all the untracked and uncommitted changes are also published. Therefore, the state of the application in the Git repository matches what is published. See the Legacy - Commit changes topic for more information about the glide.sourcecontrol.default_commit_mode property.
    3. A Source Control tag is created for the new version and the application is published.
      If needed, the sys_app record is updated with the new store correlation ID.
      주:
      If your application is linked to Source Control and you publish a new version outside of Studio, a source control commit and tag are not created.