system.kanoa.asset.enableMode
Description
Change the enabled mode of a mode (kanoaOPS).Syntax
enableMode(modeId, enabled)- modeId (int) - ID of the mode.
- enabled (bool) - Boolean indicating whether the mode should be enabled or disabled.
- # of records modified (int).
Code Examples
# Example Usage:
mode_id = 123
enabled = True
records_modified = system.kanoa.asset.enableMode(mode_id, enabled)