Next Run Date not updating on Indicator template properly

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2022 07:40 AM
I have an indicator template that has a collection frequency of Daily. The indicator is actually running and moving my controls to non-compliant correctly (GRC indicator nightly run scheduled job is active).
The problem I am seeing is that the "Next run date" is not getting updated each day on the indicator template. This is the case for all my indicator templates.
However, it does seem each indicator gets update with the correct next run date.
In the code for the indicator engine "IndicatorEngineBase" i see where it should be updating the indicator template next run date as well but it does not seem to be working:
updateNextDateTime: function(indicator) {
// Update the next run time of the indicator record
var today = new GlideDate();
indicator.next_run_time = new sn_grc.FrequencyUtils().computeNextDateTime(today, indicator);
//update next scheduled date of the indicator template
var template = new GlideRecord('sn_grc_indicator_template');
if (template.get(indicator.template)) {
template.next_run_time = indicator.next_run_time;
template.update();
}
indicator.update();
},
None of the other articles posted here have answered this question - any insights? Thank you!!
- Labels:
-
Policy and Compliance Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 04:21 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:25 AM
Hi Ahmed - no I am not. An the dates on the Indictors themselves are correct for the next run dates - it is just the next run date never makes it to the Template but this may be by design after the first run.
Here is a shot of a daily indicator template showing the in correct next run date and the related indicators showing the correct next run date.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2023 12:09 AM
Hello Kevin Frost,
Greetings....!!!!
I am also facing same issue with Tokyo version of platform. Could you please let me know how this issue has been addressed?
Thanks in advance.
Regards,
Murthy Peruri