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