What does the plus sign and the OpsStatusFilter mean in scripting?

phantom7
Giga Expert

I have the following code snippet, and I would like someone who is kind enough to explain to me what it does:

 

javascript: 'sys_class_name!=cmdb_ci_network_adapter^sys_class_name!=cmdb_ci_spkg^operational_statusNOT IN' + new OpsStatusFilter('cmdb_ci').by('CreateChange').join()

 

Here is how I have interpreted it so far:

if the class name is not 'cmdb_ci_network_adapter' and the class name is not 'cmdb_ci_spkg'....

I don't understand what this part means:

operational_statusNOT IN' + new OpsStatusFilter('cmdb_ci').by('CreateChange').join()

Please be kind enough to explain to me what this part means. Thank you.

 

 

 

1 ACCEPTED SOLUTION

S_C Pressley
Kilo Guru

basically, If your class does not exist in the cmdb ci network adapter table and does not equal the operational status that is being filtered, it will create a new one (OpsStatusFilter) 

the plus sign means to concatenate (join to together) or for better terms .. "add to" 

I hope this helps 🙂 good luck 

View solution in original post

3 REPLIES 3

S_C Pressley
Kilo Guru

basically, If your class does not exist in the cmdb ci network adapter table and does not equal the operational status that is being filtered, it will create a new one (OpsStatusFilter) 

the plus sign means to concatenate (join to together) or for better terms .. "add to" 

I hope this helps 🙂 good luck 

crystalrforbes
Tera Contributor

Additional/Related Question:

I encountered the aforementioned Dictionary Entry Override when trying to determine why some Configuration Items are not available on the Create New Change form.

Is it possible to determine if this override is an out-of-the-box configuration? And, what would be the hazard in disabling it? 

Hi crystalrforbes,

Did you get any solution for this I have same thought in my mind, if we disable this OOB functionality does it get any effect the platform

please provide me the response if you have already knew it

 

Thanks