system.kanoa.cmms.addProcedureStepEvent(procedureStepEventInfo, userId)
Adds a procedure step event. All procedureStepEventInfo keys are required.
Parameters
procedureStepEventInfo Dictionary
| - actualMinutes | Integer | |
| - comment | String | |
| - completed | Boolean | |
| - procedureStepId | Integer | Id of procedureStep |
| - workOrderEventId | Integer | Id of workOrderEvent |
userId Integer:Id of the user executing the function
Returns
procedureStepEventId Integer
message String None if success
Example