
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 01:04 PM
Hello, Community,
Can I add an entry to the table "MID Server Application" [ecc_agent_application]?
If I can add an entry to this table, the additional entry allows me to force Discovery to run on a specific MID Server when I launch Discovery from a script.
Here are the steps.
- Add an entry to the table "MID Server Application" [ecc_agent_application]
- Call the entry "Discovery.<MIDServerName>
- Set "Default MID Server" to the corresponding MID Server
- Set "included in application ALL" to "false
- Access the corresponding MID Server
- Add the "MID Server Application" to the list of "Supported Applications" for this MID Server.
- Do NOT add the "MID Server Application" to any other MID Server
- Run this Background Script
var sysid = sn_discovery.DiscoveryAPI.discoverIpAddress("172.12.10.10","Discovery.MID_SERVER_01","Background Script Thomas Rausch");
The Discovery launches on MID Server "MID_SERVER_01"
References
- Scoped DiscoveryAPI - discoverIpAddress(String ipAddress, String application, String source) | ServiceNow Documentation, Washington, D.C.
- ServiceNow Giga Guru einvaldserigsta did the same thing four years ago.
Solved! Go to Solution.
- 452 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 05:18 PM
I opened ServiceNow Case CS7346732 titled 'Can I Add Entries To Table "MID Server Application" [ecc_agent_application]?'
Koushik Raj Vysyaraju (NOW) replied.
Yes, you can add entries to Table.
And, It wouldn't cause any issues to add Entries. I am moving this case has a Solution Propose, Let us know if you any questions.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 05:18 PM
I opened ServiceNow Case CS7346732 titled 'Can I Add Entries To Table "MID Server Application" [ecc_agent_application]?'
Koushik Raj Vysyaraju (NOW) replied.
Yes, you can add entries to Table.
And, It wouldn't cause any issues to add Entries. I am moving this case has a Solution Propose, Let us know if you any questions.