system.kanoa.cmms.getConditions(paramsDict)
Returns the available condition-based monitoring definitions � the reusable condition TYPES
(e.g. a vibration-over-threshold rule or a runtime-counter rule) that can be attached to work orders via setWorkOrderCondition, rather than the condition instances tied to a specific work order.
All keys in paramsDict are optional filters; pass an empty dict to return all defined conditions, or filter by id, name, or enabled status.
Parameters
paramsDict Dictionary
| - conditionId | Integer | |
| - conditionName | String | |
| - enabled | Boolean |
Returns
conditionData pyDataset
Example
paramsDict = {"enabled": True}
data = system.kanoa.utilities.convertDatasetToJSON(system.kanoa.cmms.getConditions(paramsDict))
for i, row in enumerate(data):
for k,v in row.items():
print k,v
break #Just limiting to returning the columns from the first record for display purposes
>>>
displayName Counter
conditionName counter
enabled True
changedDate None
createdDate Thu Feb 26 00:00:00 UTC 2026
conditionId 4
createdBy 5
changedBy None
>>>