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.