Indicator Score showing incorrect value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2024 11:52 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:
I am not sure where am going wrong. Please help.
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2024 04:10 AM
That would have been yesterday, AND the updated date could have changed since the last measure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2024 08:20 PM
@Uncle Rob Thanks for the response!
There are no incidents with tasks in the Test instance where this indicator is present.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2024 09:04 PM
Adjust the conditions in the indicator source and indicator to ensure mutual exclusivity and prevent overlaps.
Modify the checkIncidentTask function to handle edge cases, such as:
- sys_id being null.
- Incident tasks with unexpected states or dates.
function checkIncidentTask(sysid) {
var inc_task1 = new GlideRecord('incident_task');
inc_task1.addQuery('incident', sysid);
inc_task1.query();
return inc_task1.hasNext() ? 1 : 0;
}
If you found this as useful please mark as helpful and accept as solution.