Indicator Score showing incorrect value
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2024 11:35 PM
Hi All,
i have an indicator source with following condition:
Opened on Today OR Opened before Today
AND
"State is not "Canceled" and "Active is True" and "Assignment Group is GroupABC"
Indicator with following condition:
Updated on Today AND
Assignment Group is GroupABC
and I also have a script with following code:
checkIncidentTask(current.sys_id);
function checkIncidentTask(sysid) {
var inc_task1 = new GlideRecord('incident_task');
inc_task1.addEncodedQuery('incident!=NULL^incident=' + sysid);
inc_task1.query();
if (inc_task1.next()) { //check if incident tasks are available
return 1;
} else {
return 0;
}
}
There are no incidents with Task that were "Updated on Today" but score on this indicator is as follows:

I am not sure where am going wrong. Please help.
Thanks,
Siva
0 REPLIES 0