Filter condition for data manager policies - cannot select 'is a' option

Chaz_
Tera Guru

 

Hi,

 

On CMDB Data manager, when setting up a new certification policy and defining the condition for the CI Class, it doesn't have the Class 'is a' option. This is useful, so that we can include bunch of classes under 'server' for example.

 

Is there a way we can get around this, through javascript? Or does anyone know how we can have this option added onto data manager policies?

 

Thanks.

Chaz.

1 ACCEPTED SOLUTION

Tony Branton
ServiceNow Employee
ServiceNow Employee

Hi Chaz,

 

A few things:

  • Avoid using cmdb_ci as the table in your data filter and then including a bunch of "Class is ..." statements in your filter condition.  Except for the smallest CMDBs (i.e. <10k CIs) this approach will impact performance during policy evaluation.
  • Start with a parent class e.g. cmdb_ci_server and then use "Class is "...
  • For Class, try using the table name e.g. cmdb_ci_win_server
  • You can use "is" and "is one of" - there's no "is a"   😉

Hope this helps.

View solution in original post

2 REPLIES 2

Tony Branton
ServiceNow Employee
ServiceNow Employee

Hi Chaz,

 

A few things:

  • Avoid using cmdb_ci as the table in your data filter and then including a bunch of "Class is ..." statements in your filter condition.  Except for the smallest CMDBs (i.e. <10k CIs) this approach will impact performance during policy evaluation.
  • Start with a parent class e.g. cmdb_ci_server and then use "Class is "...
  • For Class, try using the table name e.g. cmdb_ci_win_server
  • You can use "is" and "is one of" - there's no "is a"   😉

Hope this helps.

Chaz_
Tera Guru

Makes sense. Very useful - Thanks.