Skip to main content

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

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


Parameters​

performanceStateClassPath String: Path to check
userId Integer: Id of user executing the function


Returns​

performanceStateClassId Integer
msg String None if success


Example​

performanceStateClassPath = 'Operations'
userId = 18
performanceStateClassId, msg = system.kanoa.performanceState.checkPerformanceStateClassPath(performanceStateClassPath, userId)