Skip to main content

system.kanoa.performanceState.checkPerformanceStateClassPath

This function requires KanoaOPS module

Description

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

Syntax

checkPerformanceStateClassPath(performanceStateClassPath, userId)
  • Parameters
      performanceStateClassPath (string)
      userId (int)
  • Returns
    # of records modifed (int), msg (string): None if success
  • Code Example

    # Example Usage:
    performanceStateClassPath = 'Operations'
    userId = 18
    system.kanoa.performanceState.checkPerformanceStateClassPath(performanceStateClassPath, userId)
    >
    1, None
    >>>