Add predefined tags to CI

Henrik Jutterst
Kilo Sage

Hello Community!

We are looking to "tag" our CIs in our CMDB. I know there is a tag function OOTB in ServiceNow, but that givs our users the freedom to type in what they want.

I'm looking for a way to multi tag an object based on predefined tags to see if that function is available on the specific CI.

Example. We have a Linux server CI. On that CI I'm looking for a way to add information to that CI what it's used for. For example if its used for ftp, webserver, file server and so on. I'm looking for a way to add multiple predefined tags to that CI.

Anyone with experience or a clue on how to do this, or if there's an OOTB function for this?

1 ACCEPTED SOLUTION

Michael Ritchie
ServiceNow Employee

Henrik, out of the box you can add a related list called Services to your cmdb form.   This is a many to many relationship to the IP Service (cmdb_ip_service) table where you can define the service for that CI.


find_real_file.png


Out of the box there are several demo IP Services in the cmdb_ip_service table but you can maintain these records to meet your needs.


View solution in original post

8 REPLIES 8

Michael Ritchie
ServiceNow Employee

Henrik, out of the box you can add a related list called Services to your cmdb form.   This is a many to many relationship to the IP Service (cmdb_ip_service) table where you can define the service for that CI.


find_real_file.png


Out of the box there are several demo IP Services in the cmdb_ip_service table but you can maintain these records to meet your needs.


Hi Michael and thanks for that info! I think that's just what I'm looking for!



However I do have a question to that solution.



Does the filed "Creates" create a new CI with that Classification, it selected? (I don't want to create any CI with the selected class, so I'll leave it blank)



find_real_file.png


Henrik, this table is utilized by ServiceNow Discovery and records are created automatically in this table based upon ports open on devices:


Data collected by Discovery on IP services and daemons



Assuming you are not using ServiceNow Discovery you can definitely leverage this table for your own services since you are requiring something similar.   If you believe you may use Discovery down the road you could create your own table of services and a many to many table to link them.


Hi Michael!



You are correct. We are not using Discovery at the moment though I'm hoping we will in the future.


Would you say that It's better for us to extend the table ( cmdb_ip_service ) at the moment and if/when we use Discovery later go with the OOTB functionality, using the cmdb_ip_service table?



Thanks for the good input!