system.kanoa.asset.addAssetGroup
Description
Adds a new asset group if the group doesn't already exist (kanoaOPS).Syntax
addAssetGroup(assetGroupName, userId)- assetGroupName (string) - Name of the asset group.
- userId (int) - User ID for tracking changes.
- assetGroupId (int).
Code Examples
# Example Usage:
group_name = 'Group1'
user_id = 5
asset_group_id = system.kanoa.asset.addAssetGroup(group_name, user_id)