system.kanoa.asset.getCurrentModeInfo(assetPath)
Returns the current mode info for a given assetPath
Parameters
assetPath String: Path of asset to return state event info for.
Returns
modeEventInfo Dictionary
Example
assetPath = 'Kanoa Inc\Box Plant\Packaging\Box line 1'
modeEventInfo = system.kanoa.asset.getCurrentModeInfo(assetPath)