# system.kanoa.performanceState.checkPerformanceStateClassPath(performanceStateClassPath, userId)

Checks if an performanceStateClassPath exists and creates it if it doesn't

---
### Parameters
**performanceStateClassPath** `String`: Path to check<br />
**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**performanceStateClassId** `Integer`<br />
**msg** `String` None if success<br />

---
### Example
```python
performanceStateClassPath = 'Operations'
userId = 18
performanceStateClassId, msg = system.kanoa.performanceState.checkPerformanceStateClassPath(performanceStateClassPath, userId)
```
