Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Can anyone help me what this reference qualifier means for CI.

rahul16
Giga Guru

find_real_file.png

 

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

can anyone help me what this reference qualifier means.

1 ACCEPTED SOLUTION

Yousaf
Giga Sage

Hi,

Following checks, if the table current name is incident or problem

['incident', 'problem'].indexOf(current.sys_class_name + '') == -1?

 

If the above condition is true, it queries all the CIs with operation status = OpsStatusFilter('cmdb_ci').by('CreateTask').join()

OpsStatusFilter is a script include and by is a function inside it. This function will return a list of operational status of cmdb_ci table.

Reference : CI Reference Qualifier on Incident Form

Mark Correct or Helpful if it helps.


***Mark Correct or Helpful if it helps.***

View solution in original post

5 REPLIES 5

Rahul,

Do Mark the answer Correct if you think its applicable and close the thread please.


***Mark Correct or Helpful if it helps.***