- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 12:11 AM
Hi, I am new to ITOM.
Please tell me if it is possible to exclude specific CIs depends on its tags discoverd in Cloud Discovery.
I want to populate the CMDB only with CIs detected by Discovery that have specific tags.
I would like to achieve this without scripting if possible.
Solved! Go to Solution.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 09:33 PM
Hi Makoto,
No, you can't do it without scripting. 🙂
I'm not sure how plausible it would be, but perhaps you could do a Business Rule on the cmdb_ci table that runs before INSERT that could go look for associated tags and then if it can't find what it is looking for, you would Abort the Insert action. Having said that, I'm not sure a Business Rule on the cmdb_ci table could really see the tags at that point.
Another way, though not ideal, might be to go through the different patterns you run, locate the section that is grabbing the tags, and then add a step to look for the specific tag you want, and if not there, then you could abort the pattern.....
But as a I said before, as you can see, these ideas require some level of customization/scripting. This is not something you can just "configure"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 01:54 AM
Does these device TAGS corresponds to a specific set of CI Classes or it can be of any class?
refer this URL if it helps- https://docs.servicenow.com/en-US/bundle/sandiego-it-operations-management/page/product/service-mapping/task/fine-tune-tag-mapping.html
Section-
Procedure
- To include CIs based on classes, perform these steps:
- Navigate to Service Mapping > Administration > Properties.
- Enter CI classes separated with comma in the allow list that controls which tagged CIs are participate in tag-based mapping.
Regards
RP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 12:20 AM
Sorry for late reply.
Thanks for your detailed description!
I understand that it is possible to configure the system to detect only specific CI classes.
> Does these device TAGS corresponds to a specific set of CI Classes or it can be of any class?
No, I want to take information and populate CMDB only on arbitrary CIs with specific tags. And it has nothing to do with the type of CI.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 09:33 PM
Hi Makoto,
No, you can't do it without scripting. 🙂
I'm not sure how plausible it would be, but perhaps you could do a Business Rule on the cmdb_ci table that runs before INSERT that could go look for associated tags and then if it can't find what it is looking for, you would Abort the Insert action. Having said that, I'm not sure a Business Rule on the cmdb_ci table could really see the tags at that point.
Another way, though not ideal, might be to go through the different patterns you run, locate the section that is grabbing the tags, and then add a step to look for the specific tag you want, and if not there, then you could abort the pattern.....
But as a I said before, as you can see, these ideas require some level of customization/scripting. This is not something you can just "configure"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2022 06:32 PM
Hi Thomas,
Thanks for your reply!
I understand it's impossible w/o scripting.
I'll try another way.
Regards,