question: public Conditional createNewConditional ( String systemName , String userName ) { Conditional c = getBySystemName ( systemName ) ; if ( c != null ) { return null ; } if ( userName != null && userName . length ( ) > 0 ) { c = getByUserName ( userName ) ; if ( c != null ) { if ( systemName . equals ( c . getSystemName ( ) ) ) { return null ; } } } if ( userName == null ) { log . error ( "User name is null!" ) ; } if ( systemName != null && systemName . length ( ) > 0 ) { c = getBySystemName ( systemName ) ; if ( c != null ) { return null ; } } if ( systemName == null ) { return null ; } if ( systemName . startsWith ( SensorGroupFrame . ConditionalSystemPrefix ) ) { c = new SensorGroupConditional ( systemName , userName ) ; } else { c = new DefaultConditional ( systemName , userName ) ; } register ( c ) ; return c ; }
target:  Method to create a new Conditional if the Conditional does not exist If the parent Logix cannot be found, the userName cannot be checked, but the Conditional is still created. The scenario can happen when a Logix is loaded from a file after its Conditionals.