Updates an existing work order priority's full record (name, enabled status, and sort order). 
Unlike `updateWorkOrderPriorityField`, this replaces the whole configurable record in one call � all keys in `priorityInfo` are required, including fields that aren't changing.

---
### Parameters
**priorityInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - enabled</td><td>Boolean</td><td></td></tr>	
 	<tr><td> - sortOrder</td><td>Boolean</td><td></td></tr>	
 	<tr><td> - workOrderPriorityId</td><td>Integer</td><td>Id of priority</td></tr>	
 	<tr><td> - workOrderPriorityName</td><td>String</td><td>Name of priority</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
# Rename priority id 7 from "Low" to "Minor" and bump its sort order
priorityInfo = {
	"workOrderPriorityId": 7,
	"workOrderPriorityName": "Minor",
	"enabled": True,
	"sortOrder": 1,
}
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
recordsModified, message = system.kanoa.cmms.updateWorkOrderPriority(priorityInfo, currentUserId)
print recordsModified, message
```
