Updates an existing work order event, identified by the `workOrderEventId` key inside `workOrderEventInfo`. 
All keys in the `workOrderEventInfo` dictionary are required for the call to succeed, including the ids of the work order event and its parent work order. 
The `userId` parameter records who performed the update for audit trail purposes.

---
### Parameters
**workOrderEventInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - assetId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - assignedTo</td><td>Integer</td><td></td></tr>	
 	<tr><td> - dueDate</td><td>DateTime</td><td></td></tr>	
 	<tr><td> - maintenanceSubTypeId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - requestedBy</td><td>Integer</td><td></td></tr>	
 	<tr><td> - requestedDate</td><td>DateTime</td><td></td></tr>	
 	<tr><td> - workOrderEventId</td><td>Integer</td><td>Id of the workOrder event</td></tr>	
 	<tr><td> - workOrderEventName</td><td>String</td><td>Name of the workOrder</td></tr>	
 	<tr><td> - workOrderEventStatusId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - workOrderId</td><td>Integer</td><td>Id of the workOrder</td></tr>	
 	<tr><td> - workOrderPriorityId</td><td>Integer</td><td></td></tr>	
	</tbody>
</table>

**userId** `Integer`:Id of the user executing the function<br />

---
### Returns
**# of records modified** `Integer`<br />
**message** `String` None if success<br />

---
### Example
```python
# Update a work order event's status to Completed and adjust its priority
workOrderEventInfo = {
	"assetId": 4021,
	"assignedTo": 118,
	"dueDate": "2026-08-01 08:00:00",
	"maintenanceSubTypeId": 3,
	"requestedBy": 205,
	"requestedDate": "2026-07-27 09:15:00",
	"workOrderEventId": 8842,
	"workOrderEventName": "Pump 12 - Seal Inspection",
	"workOrderEventStatusId": 4,
	"workOrderId": 301,
	"workOrderPriorityId": 2
}
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
recordsModified, message = system.kanoa.cmms.updateWorkOrderEvent(workOrderEventInfo, userId)
print recordsModified, message
```
