Skip to main content

system.kanoa.quality.schedule.intervalTimerEvent()

This function is called by the Quality Schedule gateway timer (qualitySchedule in system.kanoa.config.getJobs()), on the active gateway, to check for check sheets that have a 'Timed interval' trigger. Each run also moves the active checks to their current state (Coming Due, Due, Overdue, Missed) and takes the automatic checks.


Parameters​


Returns​

Integer: the number of checks created, or 0 if the run was skipped because another was still in progress. If it fails, it returns the error message as a String.


Example​

system.kanoa.quality.schedule.intervalTimerEvent()