# system.kanoa.quality.config.addPickList(pickListInfo, userId)

Adds a new pick list. pickListName, enabled, and isNumeric are required.

---

### Parameters

**pickListInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
 <tbody>
  <tr><td> - pickListName</td><td>String</td><td></td></tr>
  <tr><td> - description</td><td>String</td><td></td></tr>
  <tr><td> - enabled</td><td>Boolean</td><td></td></tr>
  <tr><td> - isNumeric</td><td>Boolean</td><td></td></tr>
  <tr><td> - dataTypeId</td><td>Integer</td><td></td></tr>
  <tr><td> - example</td><td>String</td><td></td></tr>
 </tbody>
</table>

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

---

### Returns

**Tuple** `pickListId (Integer`: ; msg (String): None if success)<br />

---

### Example

```python
pickListInfo = {'pickListName': 'pickListName', 'description': 'description', 'enabled': True, 'isNumeric': True, 'dataTypeId': 1}
userId = 5
Tuple = system.kanoa.quality.config.addPickList(pickListInfo, userId)
```
