# system.kanoa.quality.config.addGroup(grpInfo, userId)

Adds a new check item group to the check sheet if it doesn't already exist. All grpInfo keys are required.

---
### Parameters
**grpInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - chkItemGroupName</td><td>String</td><td></td></tr>	
 	<tr><td> - chkShtId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - sortOrder</td><td>Integer</td><td></td></tr>	
	</tbody>
</table>

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

---
### Returns
**chkItemGroupId** `Integer`<br />

---
### Example
```python
grpInfo = {'chkShtId': 1, 'chkItemGroupName': 'Group 1', 'sortOrder': 0}
userId = 5
chkItemGroupId = system.kanoa.quality.config.addGroup(grpInfo, userId)
```
