system.kanoa.cmms.getWorkOrderSchedule(paramsDict)
Returns work order schedule records, optionally filtered using the keys supplied in paramsDict.
All keys inside paramsDict are optional; omitting the dictionary (or leaving keys out) returns a broader/unfiltered set of schedules.
Parameters
paramsDict Dictionary
| - enabled | Boolean | |
| - workOrderId | Integer | |
| - workOrderName | String |
Returns
workOrderScheduleData pyDataset
Example
paramsDict = {"workOrderId": 25}
data = system.kanoa.utilities.convertDatasetToJSON(system.kanoa.cmms.getWorkOrderSchedule(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
>>>
generateAheadDays 60
lastGeneratedDate Sun Aug 02 19:53:21 UTC 2026
workOrderScheduleId 9
changedDate Tue Jul 21 19:55:12 UTC 2026
createdDate Mon Mar 09 14:26:41 UTC 2026
createdBy 5
changedBy 39
rruleStr FREQ=WEEKLY;INTERVAL=1;BYWEEKDAY=TU,MO,SU,TH,FR,SA
workOrderId 25
startDate Wed Mar 11 07:00:00 UTC 2026
>>>