Reference Qualifier on CIs

karthik_540
Tera Contributor

Hello Team,

 

Currently the existing ref qualifier excludes retired CIs on incident and problem. Now i want to exclude on change_request table as well. I have modified and its not working on change_request table.

 

Existing Script

['incident', 'problem'].indexOf(current.sys_class_name + '') == -1? '' : 'operational_statusNOT IN' + new OpsStatusFilter('cmdb_ci').by('CreateTask').join()

 

Modified Script

['incident', 'problem', 'change_request'].indexOf(current.sys_class_name + '') == -1 ? '' : 'operational_statusNOT IN' + new OpsStatusFilter('cmdb_ci').by('CreateTask').join();

 

 

Regards

Karthik

1 REPLY 1

Sohail Khilji
Kilo Patron
Kilo Patron

which field are you refering ? in inc prob and change ?


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect