Skip to main content

system.kanoa.asset.unlinkAssetState(stateAssetLinkId)

Unlinks states from assets. If this state has been recorded in the stateEvent table against an asset, the link is disabled


Parameters

stateAssetLinkId Integer: Id of stateAssetLink to unlink


Returns

# of records modified Integer
msg String None if success


Example

stateAssetLinkId = 123
retVal, msg = system.kanoa.asset.unlinkAssetState(stateAssetLinkId)