# system.kanoa.cmms.updateProcedureStepCheckEvent(checkEventInfo, userId)

Updates an existing procedure step check event � the recorded result of a single check performed during a work order's execution of a procedure step, such as a logged value, pass/fail status, or comment. 
Call this when a technician's recorded reading needs correcting after the fact, or when a supervisor amends the status or comment on a completed check. 
All keys in `checkEventInfo` are required, and the function overwrites the identified check event's fields with the values supplied, recording `userId` for audit purposes.

---
### Parameters
**checkEventInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - comment</td><td>String</td><td></td></tr>	
 	<tr><td> - procedureStepCheckEventId</td><td>Integer</td><td>Id of procedure step check event</td></tr>	
 	<tr><td> - procedureStepCheckId</td><td>Integer</td><td>Id of procedure step check</td></tr>	
 	<tr><td> - procedureStepEventId</td><td>Integer</td><td>Id of procedure step check event</td></tr>	
 	<tr><td> - status</td><td>Integer</td><td></td></tr>	
 	<tr><td> - value</td><td>String</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
checkEventInfo = {
					"procedureStepCheckEventId": 55210,
					"procedureStepCheckId": 8890,
					"procedureStepEventId": 19042,
					"value": "3.2",
					"status": 1,
					"comment": "Within spec after tensioner adjustment."
				}
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
result, message = system.kanoa.cmms.updateProcedureStepCheckEvent(checkEventInfo, userId)
print result, message
```
