- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2022 07:06 AM
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.
Solved! Go to Solution.
- Labels:
-
Multiple Versions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2022 07:22 AM
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.***

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2022 08:39 AM
Rahul,
Do Mark the answer Correct if you think its applicable and close the thread please.
***Mark Correct or Helpful if it helps.***