How do you set the Discovery source, "Manual Entry"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 11:47 AM
How do you set CIs that you've entered manually to a "Discovery source" of "Manual entry?" I don't really want to add this to our forms as a required field, but I want these CIs to play nicely with the IRE and to give us more complete information. I've thought of a default value, but I'm not sure where that might catch when it's not intended--import sets, integrations, etc. If handled properly, none of those, I suppose, but it still seems questionable. After business rule that sets it when empty and the user isn't mid_server?
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 12:54 PM
Hello,
I just noticed that in our instance its marked as Default Value to Manual Entry. If its not OTB in your instance, you could consider having it defaulted or when user manually creates it (User BR to set discovery source).
Thanks,
Rahul Yamgar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 01:50 PM
Yeah, I don't think that's out of the box. I just checked a developer environment and there's no default value. Have you noticed any issues with other data sources getting set inaccurately or anything? I guess that's probably the way to go if we're careful to set it properly with any imports from other sources.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2020 04:42 PM
It's not well documented but for anyone in the future who views this discussion and wonders about the right way forward, please know that "Manual Entry" data source is used by ServiceNow as part of duplication detection / processing logic. Customers have been advised not to re-purpose this data source.
I support the general idea being discussed and so I suggest creating a new data source for user-created CIs (e.g. "User Created") and from a solution perspective, you should be able to use the GlideSession API method isInteractive() to check if the current session which triggered CI creation is interactive and then set the data source accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2022 06:29 AM
Posting for the benefit of anyone who may be interested in this. We can write a before Business Rule which runs on insert and works for condition gs.getInteractive() signifying that its a manual update being made. Set current.discovery_source = "Manual Entry". Works just fine.