system.kanoa.cmms.addWorkOrderPriority(priorityInfo, userId)
Adds a priority. All priorityInfo keys are required.
Parameters
priorityInfo Dictionary
| - enabled | Boolean | |
| - sortOrder | Boolean | |
| - workOrderPriorityName | String | Name of priority |
userId Integer:Id of the user executing the function
Returns
workOrderPriorityId Integer
message String None if success
Example