Skip to main content

system.kanoa.performanceState.checkPerformanceStateClassPath

Description

Checks if a 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 Examples

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