String validateConditionalReference(String name){
  Conditional c=null;
  if (name != null) {
    if (name.length() > 0) {
      c=_conditionalManager.getByUserName(name);
      if (c != null) {
        return name;
      }
    }
    c=_conditionalManager.getBySystemName(name);
  }
  if (c == null) {
    messageInvalidActionItemName(name,"Conditional");
    return null;
  }
  return name;
}

String validateConditionalReference ( String name ) { Conditional c = null ; if ( name != null ) { if ( name . length ( ) > 0 ) { c = _conditionalManager . getByUserName ( name ) ; if ( c != null ) { return name ; } } c = _conditionalManager . getBySystemName ( name ) ; } if ( c == null ) { messageInvalidActionItemName ( name , "Conditional" ) ; return null ; } return name ; }
checks conditional reference of text . forces name to system name
