Skip to main content

system.kanoa.schedule.getAllCurrentEvents

Description

Returns scheduled events for the current day for the passed-in assetPath.

Syntax

getAllCurrentEvents(assetPath='%')

Parameters:
  • assetPath (string): Path of the asset. Default is '%'.

  • Returns:
  • scheduledEvents (pyDataset): Scheduled events data.
  • Code Examples

    # Example Usage:
    asset_path = 'Kanoa Industries\Adelaide Hills\Packaging\Line 1'
    current_events = system.kanoa.schedule.getAllCurrentEvents(asset_path)