Skip to main content

system.kanoaOPS.updateAssetSchedule

This function requires KanoaOPS module

Description

This function will update the mode for the given asset (kanoaOPS).

Syntax

updateAssetSchedule(assetPath, assetId, eventData)
  • Parameters
      assetPath (string) - Path of the asset.
      assetId - Asset ID.
      eventData - Event data.
  • Returns
      Boolean value indicating success or failure.
  • Code Example

    # Example Usage:
    asset_path = 'Kanoa Industries\Adelaide Hills\Packaging\Line 1'
    asset_id = 123
    event_data = {...} # Replace with actual event data
    success = system.kanoaOPS.updateAssetSchedule(asset_path, asset_id, event_data)