anchor.diff:              }
               session.setAttribute(requestToken,workflowWizard);
           }
  -        
  +
           WorkflowWizard[] workflowWizards = client.listWorkflows();
           for (int i = 0; i < workflowWizards.length; i++) {
               WorkflowWizard workflowWizard1 = workflowWizards[i];
  -            existingWorkflowNames += workflowWizard1.getWorkflowName() + "|" ;
  +            existingWorkflowNames +=  "\"" + workflowWizard1.getWorkflowName() + "\"" ;
  +            if(workflowWizards.length > (i+1)){
  +                existingWorkflowNames +=  "," ;
  +            }
           }
       } catch (Exception e) {
           String message = resourceBundle.getString("workflow.error.when.initiating.service.client");
  
positive.code: %>
  
  <script type="text/javascript">
          var existingWorkflowNames = "<%=existingWorkflowNames%>";
  </script>
  
  
  
negative.code:                 CARBON.showWarningDialog("<fmt:message key="workflow.error.empty.workflow.name"/>" , null ,null) ;
                  return false;
              }
              if($.inArray(workflow_name, existingWorkflowNames) !== -1){
                  CARBON.showWarningDialog("<fmt:message key="workflow.error.duplicate.workflow.name"/>" , null ,null) ;
                  return false;
              }
  