system.kanoaOPS.checkCurrentSchedule
Description
This function will grab all scheduled events, whether discrete or recurring, for the current time period and then filter them to only return the active one.Syntax
checkCurrentSchedule(assetPath)Parameters:
Returns:
Code Examples
# Example Usage:
asset_path = 'Kanoa Industries\Adelaide Hills\Packaging\Line 1'
current_schedule = system.kanoaOPS.checkCurrentSchedule(asset_path)