Indicator Score showing incorrect value

sivaranjani3894
Tera Guru

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:
sivaranjani3894_0-1733643260358.png

I am not sure where am going wrong. Please help.

 

Thanks,

Siva

0 REPLIES 0