system.kanoa.cmms.getWorkOrderEventStatusCategory(paramsDict)
Returns work order event status category records, optionally filtered by the criteria supplied in paramsDict.
Status categories group individual work-order-event statuses under a broader classification (e.g. "Active" vs "Complete").
All keys of paramsDict are optional, so the function can be called with no filters to return all categories, or with one or more keys to narrow the result set to a specific id, name, or enabled/active state.
Parameters
paramsDict Dictionary
| - enabled | Boolean | |
| - isActive | Boolean | |
| - workOrderEventStatusCategoryId | Integer | |
| - workOrderEventStatusCategoryName | String |
Returns
workOrderEventStatusCategoryData pyDataset
Example
paramsDict = {"isActive": True, "enabled": True}
data = system.kanoa.utilities.convertDatasetToJSON(system.kanoa.cmms.getWorkOrderEventStatusCategory(paramsDict))
for i, row in enumerate(data):
print 'Row %i'%i
for k,v in row.items():
print k,v
break #Just limiting to returning the columns from the first record for display purposes
>>>
Row 0
workOrderEventStatusCategoryName Open
isActive True
workOrderEventStatusCategoryId 1
enabled True
changedDate None
createdDate Sat Feb 14 19:06:30 UTC 2026
createdBy 5
changedBy None
reservedBySystem False
>>>