Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to create an application from the same git repo used for another application after the old application is deleted?

Ashima2
Kilo Contributor

Hello all,

I am new to service now. I created an app by importing from my github account. Then I deleted it and started creating another app using the same details. However I am getting the error "Another application is already associated with the specified repository configuration".

Can someone please help me. 

Thank you.

find_real_file.png

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

So if you created an app in your instance by importing it from git, then deleted it in your instance and created a new app. That new app will need to be committed to a new git repo, you won't be able to use the old one.

View solution in original post

4 REPLIES 4

Brad Tilton
ServiceNow Employee
ServiceNow Employee

So if you created an app in your instance by importing it from git, then deleted it in your instance and created a new app. That new app will need to be committed to a new git repo, you won't be able to use the old one.

I did this and none of my application files are being committed. 

Rick25
Kilo Guru

This helped me:

https://hi.service-now.com/kb_view.do?sysparm_article=KB0779081

Error: "Application 'ABC' is already associated with another repository configuration" when importing application from source control
284 viewsNumber: KB0779081
Description
After a clone, importing unpublished changes for a scoped application (ABC) from an external repository (like git) throws the below error:

"Application 'ABC' is already associated with another repository configuration"

Release or Environment
All releases

Cause
There exists an older repository configuration for the app on sys_repo_config table.

Resolution
1. Delete the old config record in "sys_repo_config" table for the application.

2. Open the application in Studio.

3. Navigate to Source Control > Link to Source Control.

4. Enter the proper config/credentials to link to the repository and click Submit.

Additional Information
Link an application to source control: https://docs.servicenow.com/bundle/madrid-application-development/page/build/applications/task/t_LinkAnApplicationToSourceControl.html

Article Information
Last Updated: 2019-10-22 07:34:02
Published: 2019-10-22

I did this and none of my application files are being committed.