Skip to main content

system.kanoa.performanceState.checkPerformanceState

Description

Checks if a performanceState exists for the performanceStateClassId and creates it if it doesn't

Syntax

checkPerformanceState(performanceStateName, performanceStateClassId, performanceStates, userId)

Parameters:
  • performanceStateName (string)
  • performanceStateClassId (int)
  • performanceStates (dict)
  • userId (int)

  • Returns:
  • # of records modifed (int)
  • msg (string): None if success
  • Code Examples