Adding a new choice to the discovery_source element in the tables in my application

aditimittal
Tera Contributor

I am adding a new row in the choice list (sys_choice.list) for my application for the discovery_source element. I selected the table as the cmdb_ci table and gave the element as discovery_source and gave a new value and name. basically, I added another discovery source to my tables. but the problem I see is that this is only getting changed in the global scope so I can't commit this to my application. is there any way that I could add this change to my application scope, or any other way within my application scope to add another value to the discovery_source attribute in the cmdb_ci table because I only see the cmdb_ci table in the options for this when I am in the global scope and it is not there in the application scope. so if anyone knows, the help would be really appreciated. 

1 ACCEPTED SOLUTION

VivekSattanatha
Mega Sage

The discovery_source choice field is in global scope which you cannot change. The sys_choice table also doesnt extend from the sys_metadata table so you cannot define scope for the choice records.  So it wont be possible to capture in scoped app.

 

The alternate option to run fix script, this is how Servicenow creates these choices while you install any new ServiceNow graph connectors.

 

VivekSattanatha_0-1764762605843.png

 

View solution in original post

2 REPLIES 2

VivekSattanatha
Mega Sage

The discovery_source choice field is in global scope which you cannot change. The sys_choice table also doesnt extend from the sys_metadata table so you cannot define scope for the choice records.  So it wont be possible to capture in scoped app.

 

The alternate option to run fix script, this is how Servicenow creates these choices while you install any new ServiceNow graph connectors.

 

VivekSattanatha_0-1764762605843.png

 

alright, thank you!