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 (kanoaOPS).Syntax
checkCurrentSchedule(assetPath)- assetPath (string) - Path of the asset.
- Event data (pyDataset).
Code Example
# Example Usage:
asset_path = 'Kanoa Industries\Adelaide Hills\Packaging\Line 1'
current_schedule = system.kanoaOPS.checkCurrentSchedule(asset_path)