system.kanoa.cmms.getProcedureStepEvents(paramsDict)
Retrieves procedure step event records from the Kanoa CMMS system. Call this function when you need to look up the history of events (such as completions, state changes, or other logged activity) tied to one or more procedure steps, optionally scoped to a specific work order event.
All keys in paramsDict are optional, so passing an empty dictionary returns all procedure step event records, while supplying one or more keys narrows the result set to matching rows.
Parameters
paramsDict Dictionary
| - procedureStepEventId | Integer | |
| - procedureStepId | Integer | |
| - stepName | String | |
| - stepNum | Integer | |
| - workOrderEventId | Integer |
Returns
procedureStepEventData pyDataset
Example
# Look up all procedure step events for a given procedure step
paramsDict = {"procedureStepId": 101}
data = system.kanoa.utilities.convertDatasetToJSON(system.kanoa.cmms.getProcedureStepEvents(paramsDict))
for i, row in enumerate(data):
print 'Row %i'%i
for k,v in row.items():
print k,v
break
>>>
Row 0
lastUpdatedBy jason on 2026-04-08 22:39:47.473
workOrderEventName MWO00104
createdByUser jason
stepDescription Gather ingredients
completed True
procedureId 32
enabled True
required False
estimatedMinutes 6
changedDate Wed Apr 08 22:39:47 UTC 2026
createdDate Sat Mar 28 18:42:25 UTC 2026
stepName Step 1
createdBy 5
changedBy 5
sortOrder 0
procedureName Bake a cake
actualMinutes 13
comment Couldn't find stuff
changedByUser jason
stepConfig None
procedureStepId 101
procedureStepEventId 11
workOrderEventId 56
>>>