System Applications/ Source Control / Delegated Development - Frequently asked Questions(FAQ) |Helpful knowledge & Known Error ArticlesSummary @import url('https://fonts.googleapis.com/css?family=Balthazar|Nunito:300'); @import "compass/css3"; summary { cursor: pointer; } summary::-webkit-details-marker { color: #fff; background-color: #000; display: none; } summary:before { content: "\2714"; /* the new icon */ color: #696f7c; margin-right: 5px; } body { background: #eceff1; } h1 { text-align: center; font-family: 'Balthazar', serif; letter-spacing: 2px; } p { margin: 2px 0; } .table { display: flex; justify-content: center; flex-flow: row wrap; } <!-- .SOKMKBArticle table.landingTable{ background: #44624F; width: 100%; border: 1px solid; border-color: #44624F; border-spacing:1px; } .SOKMKBArticle .header { background: #ffffff; padding: 15px 10px 10px 10px; margin: 30px 25px 0px 25px; width: 100%; border: 2px solid; border-color:#44624F; border-radius: 3px; text-align: center; } .SOKMKBArticle .footer { background: #ffffff; padding: 0px 10px 20px 10px; width: 100%; border: 2px solid; border-color:#44624F; border-radius: 3px; } .SOKMKBArticle .section { display: inline-block; border-radius: 3px; padding: 10px 10px 10px 10px; } .SOKMKBArticle .sop { background: #ffffff; padding: 5px 10px 10px 10px; margin: 5px 5px 5px 5px; height: 300px; border: 2px solid; border-radius: 3px; vertical-align: top; } .SOKMKBArticle .cwf { background: #ffffff; padding: 5px 10px 10px 10px; margin: 5px 5px 5px 5px; height: 100px; border: 2px solid; border-radius: 3px; vertical-align: top; } .SOKMKBArticle .cwfh { background: #ffffff; padding: 5px 10px 10px 10px; margin: 5px 5px 5px 5px; height: 50px; border: 2px solid; border-radius: 3px; vertical-align: top; } .SOKMKBArticle .rnr { background: #ffffff; padding: 5px 10px 10px 10px; margin: 5px 5px 5px 5px; height: 200px; width: 830px; border: 2px solid; border-radius: 3px; } .SOKMKBArticle .faq { background: #ffffff; padding: 5px 10px 10px 10px; margin: 5px 5px 5px 5px; height: 200px; width: 100%; border: 2px solid; border-radius: 3px; } .SOKMKBArticle .training { width: 100%; padding: 10px 5px 10px 5px; background-color: #b0e1ce; border: 1px solid; border-color: #81b5a1; } .SOKMKBArticle .training1 { width: 100%; padding: 10px 5px 10px 5px; background-color: #68a1af; border: 3px solid; border-color: #44624F; } .SOKMKBArticle .training2 { width: 100%; padding: 10px 5px 10px 5px; background-color: #fbd0b3; border: 3px solid; border-color: #ff924e; } .SOKMKBArticle .training3 { width: 100%; padding: 10px 5px 10px 5px; background-color: #e1eeea; border: 3px solid; border-color: #81b5a1; } .SOKMKBArticle .training4 { width: 100%; padding: 10px 5px 10px 5px; background-color: #dcf8ed; border: 3px solid; border-color: #64ddac; } .SOKMKBArticle .training5 { width: 100%; padding: 10px 5px 10px 5px; background-color: #b1b1e4; border: 3px solid; border-color: #8686bc; } .SOKMKBArticle .training6 { width: 100%; padding: 10px 5px 10px 5px; background-color: #e9bcbc; border: 3px solid; border-color: #c95757; } .SOKMKBArticle .changetype { padding: 5px 5px 5px 15px; margin-top: 5px; background-color: #f5f9f7; border: 1px solid; border-color: #81b5a1; border-radius: 10px; } .SOKMKBArticle .button { padding: 5px 5px 5px 15px; margin-top: 5px; color: #ffffff; background-color: #ff924e; border: 1px solid; border-color: #cc4e00; border-radius: 10px; } .SOKMKBArticle div.margin{ padding: 10px 40px 40px 30px; color: #44624F; font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; } .SOKMKBArticle div.margin2{ margin: 10px 10px 10px 10px; color: #44624F; font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; border: 40px solid; border-color: #44624F; } .SOKMKBArticle div.fed{ background-color: #f5f8fa; border: 1px solid; border-color: #bfbfbf; padding: 10px; } .SOKMKBArticle .FedRestricted{ background-color: #c00000; color: #ffffff; padding: 10px; margin-top: 10px; text-align: center; font-size: 14pt; font-weight: bold; } .SOKMKBArticle .CustRestricted{ background-color: #ff0000; color: #ffffff; padding: 10px; margin-top: 10px; text-align: center; font-size: 14pt; font-weight: bold; } .SOKMKBArticle .SNRestricted{ background-color: #ea700d; color: #ffffff; padding: 10px; margin-top: 10px; text-align: center; font-size: 14pt; font-weight: bold; } .SOKMKBArticle .SNConfidential{ background-color: #ffc000; color: #ffffff; padding: 10px; margin-top: 10px; text-align: center; font-size: 14pt; font-weight: bold; } .SOKMKBArticle .Public{ background-color: #00b050; color: #ffffff; padding: 10px; margin-top: 10px; text-align: center; font-size: 14pt; font-weight: bold; } .SOKMKBArticle table.tocTable{ border: 1px solid; border-color:#f2f2f2; background-color: #f2f2f2; padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } .SOKMKBArticle table.noteTable{ align: left; border: none; border-color: #81b5a1; background-color: #f2f2f2; width: 100%; border-spacing:2; font-size:12px; } .SOKMKBArticle table.internalTable{ border-top: 1px solid; border-left: 1px solid; border-color:#81b5a1; width: 100%; border-spacing:1px; } .SOKMKBArticle .sp td{ border-bottom: 1px solid; border-right: 1px solid; border-color: #81b5a1; background-color: #ffffff; height: 20px; padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; } .SOKMKBArticle .sphr td{ border-right: 1px solid; border-bottom: 1px solid; border-color: #81b5a1; background-color: rgb(245, 245, 245); padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; height: 20px; } .SOKMKBArticle .sh td{ border-bottom: 1px solid; border-right: 1px solid; border-color:#81b5a1; background-color: #81b5a1; color: #ffffff; height: 20px; padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; } .SOKMKBArticle th { padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; border-bottom: 1px solid; border-right: 1px solid; border-color:#81b5a1; background-color: #44624F; font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: #ffffff; height: 20px; } .SOKMKBArticle td { border-color:#81b5a1; font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: #44624F; } .SOKMKBArticle p { color: #44624F; font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; } .SOKMKBArticle li { color: #44624F; font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; line-height: 1.5; } .SOKMKBArticle pre { font-family: Courier New; } .SOKMKBArticle div { font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; } .SOKMKBArticle hr { border-top-width: 1px; border-top-style: solid; border-top-color: #81b5a1; } .SOKMKBArticle a { color: #81b5a1; } .SOKMKBArticle a.two:link { padding: 15px 45px 15px 45px; margin-top: 20px; color: #ffffff; text-align: center; background-color: #81b5a1; border: 1px solid; border-color: #81b5a1; } .SOKMKBArticle a.two:visited { padding: 15px 45px 15px 45px; margin-top: 20px; color: #ffffff; text-align: center; background-color: #81b5a1; border: 1px solid; border-color: #81b5a1; } .SOKMKBArticle a.two:hover { color: #ffffff; background-color: #259b8a; } .SOKMKBArticle a.three:link { padding: 15px 45px 15px 45px; margin-top: 20px; color: #ffffff; text-align: center; background-color: #44624F; border: 2px solid; border-color: #81b5a1; } .SOKMKBArticle a.three:visited { padding: 15px 45px 15px 45px; margin-top: 20px; color: #ffffff; text-align: center; background-color: #44624F; border: 2px solid; border-color: #81b5a1; } .SOKMKBArticle a.three:hover { color: #44624F; background-color: #81b5a1; border: 2px solid; border-color: #81b5a1; } .SOKMKBArticle a.four:link { padding: 15px 45px 15px 45px; margin-top: 20px; color: #44624F; text-align: center; background-color: #ffffff; border: 2px solid; border-color: #81b5a1; } .SOKMKBArticle a.four:visited { padding: 15px 45px 15px 45px; margin-top: 20px; color: #44624F; text-align: center; background-color: #ffffff; border: 2px solid; border-color: #81b5a1; } .SOKMKBArticle a.four:hover { color: #ffffff; background-color: #259b8a; border: 2px solid; border-color: #259b8a; } .SOKMKBArticle a.five:link { padding: 15px 45px 15px 45px; margin-top: 20px; color: #44624F; text-align: center; background-color: #ffffff; border: 2px solid; border-color: #64ddac; } .SOKMKBArticle a.five:visited { padding: 15px 45px 15px 45px; margin-top: 20px; color: #44624F; text-align: center; background-color: #ffffff; border: 2px solid; border-color: #64ddac; } .SOKMKBArticle a.five:hover { color: #44624F; background-color: #28b980; border: 2px solid; border-color: #28b980; } .SOKMKBArticle a.six:link { padding: 15px 45px 15px 45px; margin-top: 20px; color: #44624F; text-align: center; background-color: #64ddac; border: 2px solid; border-color: #64ddac; } .SOKMKBArticle a.six:visited { padding: 15px 45px 15px 45px; margin-top: 20px; color: #44624F; text-align: center; background-color: #ffffff; border: 2px solid; border-color: #81b5a1; } .SOKMKBArticle a.six:hover { color: #44624F; background-color: #28b980; border: 2px solid; border-color: #28b980; } .SOKMKBArticle a.seven:link { padding: 15px 45px 15px 45px; margin-top: 20px; color: #44624F; text-align: center; background-color: #ffffff; border: 2px solid; border-color: #44624F; } .SOKMKBArticle a.seven:visited { padding: 15px 45px 15px 45px; margin-top: 20px; color: #44624F; text-align: center; background-color: #ffffff; border: 2px solid; border-color: #44624F; } .SOKMKBArticle a.seven:hover { color: #44624F; background-color: #c8dbdd; border: 2px solid; border-color: #44624F; } .SOKMKBArticle a.eight:link { padding: 15px 45px 15px 45px; margin-top: 20px; color: #ffffff; text-align: center; background-color: #44624F; border: 2px solid; border-color: #44624F; } .SOKMKBArticle a.eight:visited { padding: 15px 45px 15px 45px; margin-top: 20px; color: #ffffff; text-align: center; background-color: #44624F; border: 2px solid; border-color: #44624F; } .SOKMKBArticle a.eight:hover { color: #44624F; background-color: #c8dbdd; border: 2px solid; border-color: #44624F; } .SOKMKBArticle a.nine:link { padding: 15px 45px 15px 45px; margin-top: 20px; color: #44624F; text-align: center; background-color: #ffffff; border: 2px solid; border-color: #ff924e; } .SOKMKBArticle a.nine:visited { padding: 15px 45px 15px 45px; margin-top: 20px; color: #44624F; text-align: center; background-color: #ffffff; border: 2px solid; border-color: #ff924e; } .SOKMKBArticle a.nine:hover { color: #ffffff; background-color: #933700; border: 2px solid; border-color: #933700; } .SOKMKBArticle a.ten:link { padding: 15px 45px 15px 45px; margin-top: 20px; color: #44624F; text-align: center; background-color: #ff924e; border: 2px solid; border-color: #ff924e; } .SOKMKBArticle a.ten:visited { padding: 15px 45px 15px 45px; margin-top: 20px; color: #44624F; text-align: center; background-color: #ff924e; border: 2px solid; border-color: #ff924e; } .SOKMKBArticle a.ten:hover { color: #ffffff; background-color: #933700; border: 2px solid; border-color: #933700; } .SOKMKBArticle .button { padding: 15px 45px 15px 45px; margin-top: 20px; color: #ffffff; text-align: center; background-color: #1F8476; border: 1px solid; border-color: #1F8476; } .SOKMKBArticle .title { font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; color: #81b5a1; font-size: 30pt; } .SOKMKBArticle .hd1{ font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; color: #44624F; font-size: 20pt; border-bottom: 1px solid; border-bottom-color: #81b5a1; text-decoration: none; } .SOKMKBArticle h1 { font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; color: #44624F; font-size: 20pt; font-weight: normal; border-bottom: 1px solid; border-bottom-color: #81b5a1; text-decoration: none; } .SOKMKBArticle .hd2{ font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; color: #68a1af; font-weight:bold; font-size: 16pt; text-decoration: none; } .SOKMKBArticle h2 { font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; color: #68a1af; font-weight:bold; font-size: 16pt; font-weight: normal; text-decoration: none; } .SOKMKBArticle .hd3{ font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; color: #44624F; font-weight: normal; font-size:14pt; text-decoration: none; } .SOKMKBArticle h3 { font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; color: #44624F; font-weight: normal; font-size:14pt; text-decoration: none; } .SOKMKBArticle .hd4{ font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; color: #44624F; font-weight: normal; font-size: 12pt; text-decoration: none; } .SOKMKBArticle h4 { font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; color: #44624F; font-weight: normal; font-size: 12pt; text-decoration: none; } .SOKMKBArticle .SOKMKBArticle .hd5{ font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; color: #44624F; font-weight: bold; font-size: 10pt; text-decoration: bold; } .SOKMKBArticle h5 { font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; color: #44624F; font-weight: bold; font-size: 10pt; text-decoration: bold; } .SOKMKBArticle .hd6{ font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; color: #44624F; font-weight: normal; font-size: 10pt; text-decoration: underline; } .SOKMKBArticle h6 { font-family: Century Gothic, Verdana, Helvetica, Arial, sans-serif; color: #44624F; font-weight: normal; font-size: 10pt; text-decoration: underline; } .SOKMKBArticle details { font-size: 10pt; } .SOKMKBArticle details[open] summary ~ * { animation: sweep .5s; } @keyframes sweep { 0% {opacity: 0; margin-top: -10px} 100% {opacity: 1; margin-top: 0px} } .SOKMKBArticle summary { cursor: pointer; outline: none; } .SOKMKBArticle .summary { background-color: #81b5a1; font-size: 10px; color: white; cursor: pointer; padding: 5px; width: 100%; border: none; text-align: left; outline: none; vertical-align: top; } --> How to preserve a custom application during clone ? Application developers must manually save a copy of each application currently in development prior to cloning over their development instance. Published applications having same version in the source & target instance are preserved during the clone. But application having different versions or application only present in the target instance must be preserved either by exporting the XMLs or linking them with a source control system. Find additional information here. How to delete a custom scoped application or a version of the application from the application repository? Go to https://apprepo.service-now.com. Log in using your HI credentials. Next to the application listing, click Select Action and then click Flag for Deletion. On the confirmation window, click Yes. After you flag an application for deletion, the application is deleted automatically after 90 days. To delete the application immediately: Open the Flagged Apps tab. Next to the application listing, click Select Action and then click Delete Immediately Note : Customer admin on HI can delete an application only if the application is not installed on any of your company instances. Uninstall the application on all your instances before deleting it from the application repository. Is it possible to change the scope of custom application ? The application scope or the app scope(sys_scope) of a record not be changed or removed. This is platform expected behavior. This offers protection for your application artifacts to ensure that they are always associated to the proper application and that they have a unique name. For more info please check Namespace Identifier You can however create a new application in correct scope and recreate tables, scripts, etc. and copy/paste the logic from your existing app/update set over to the new application record. Can we use source control for custom global applications ? Source control integration didn't support global applications until the Orlando Release. From Paris onwards the global applications are can be linked to a GIT Repo. Can vendor prefix be changed ? Vendor prefixes are automatically generated by the system for each registered company. Vendor prefixes are used purely in the code and are not externally visible in the ServiceNow Store. ServiceNow does not support changes to the auto-generated vendor prefixes. Can vendor prefix be changed after company rename ? Vendor prefix is a unique identifier for a company and is randomly generated and assigned to an account. It is not advisable to change it. Vendor prefix is part of the Namespace identifier for an application & the system adds the namespace identifier to the front of application artifacts such as tables, scripts, and configuration records. The identifier cannot be changed or removed from application artifacts to ensure that they are always associated to the proper application and that they have a unique name. In case there is a requirement to change the vendor prefix. Please reach out to ServiceNow Customer Support via HI. How to set a credential for Source control when using mid server? Login to your instanceNavigate to Connections & Credentials > Credentials or go to [discovery_credentials.list]Click the "New" button and you will be asked what type of credential that you would like to createChoose "Basic auth", if you are using HTTPS as the network protocol or "SSH Private key" if you are using SSHSpecify the username/password and complete all the other required fieldsSave the recordNavigate to Studio and select the 'Import from Source Control' option or open an application in Studio and select Source Control > Link to Source Control optionNow in the credential dropdown, you can see the newly created credential that will enable you to link your Source Control though your MID server. Can't delete all records for a scoped custom table ? When trying to use the 'Delete All Records' button on a scoped application table (sys_db_object), the following message is displayed and the records in the table are not deleted. "Delete operation against '' from scope 'rhino.global' has been refused due to the table's cross-scope access policy" Unfortunately, the 'Delete All Records' button will not work against scoped application tables do to the cross scoping security. Also, cross scope privilege records cannot be created using the Global scope as the Source Scope. The workaround to this limitation would be to write a custom script to delete all the records in the table OR use the Table Cleaner. Can Delegated developers use Studio's Git integration? Delegated developers do not have access to Source Control. Admin access is required for the linking/importing an application with the Source Control Integration. How to prevent a role from being delegated Role required: admin By default, the following roles cannot be delegated. adminpublicnobodyrole_delegator, a user with the role_delegator role cannot delegate this role to other group members Step to prevent roles from being delegated to users. Navigate to User Administration > Roles.Open the role.Configure the form to add the Grantable or Can delegate fields.Clear the checkbox for one or both of these fields. Click Update. Helpful KBs Audit changes for scoped table not applied when installing/updating an application Unexpected cross-scope error despite creating cross-scope privilege records Scoped administration can not be enabled for apps downloaded from Servicenow store site Records skipped when applying an update set or not included in package when publishing a Scoped Application Unable to select a scoped application from the application picker Using "gr" in Scripts can result in 'scope creep' Convert global application to scoped or vice versa Update set preview error "Cannot commit Update Set '<update_Set_name>' because: Update scope id 'global' is different than update set scope id 'global'. Function nowNoTZ is not allowed in scope sn_itom_pattern. Use GlideDateTime instead: new GlideDateTime().getValue() If Scoped Transaction Quota terminate the scoped transaction that can result in canceling the upgrade Known Global methods that do not work in Scoped Applications - (Error message: "Function NAME_OF_FUNCTION is not allowed in scope") Attempt to publish an app returns an Error: You don't own the vendor prefix for this scope Application scope not available in background script List of Scoped Applications within Studio are not loading after Clone Completion Moving scoped application Flow designer flows,subflows from one instance to another via apprepo New York and Scoped Applications - some new features Text Index (ts_index_name) records are not moved from source to target when publishing application Delegated development User with delegated_developer role sees a blank screen on login or impersonation. Can delegated development roles be granted for OOB applications? Known Error Articles UI Action 'Delete All Records' on sys_db_object does not work for scoped tables Non-admin users do not see the wrong scope message for records not in currently selected application scope Scoped application files (such as Forms, Form sections, Views, Choice sets, Properties, Roles etc) missing on target instance after installing an application The changes which are made to List Calculation outside the current scope are being wrongly captured in an update set A Delegated Developer for an Application is Unable to Create a Reference Field to a Table Outside the Application Scope from either the Table Form's Column List or as a new Table Column Delegated development "Unknown error. Please try again or contact the administrator" shown when delegated developer publishes an application to application repository Delegated Developer is unable to create an ACL rule using a wildcard field on a table that exists within the application scope