public String createWorkFlowforobjects(){
  LOGGER.info("createWorkFlowforobjects Method is called");
  final List<WorkFlowMatrixDetails> matrixList=getWorkFlowMatrixDetails();
  Collections.sort(matrixList);
  prepareWorkFlowMatrixDetails(matrixList);
  setDepartmentSelected(getDepartment());
  setAdditionalRuleSelected(getAdditionalRule());
  setMode(VIEW);
  LOGGER.info("createWorkFlowforobjects Method is ended");
  return NEW;
}

public String createWorkFlowforobjects ( ) { LOGGER . info ( "createWorkFlowforobjects Method is called" ) ; final List < WorkFlowMatrixDetails > matrixList = getWorkFlowMatrixDetails ( ) ; Collections . sort ( matrixList ) ; prepareWorkFlowMatrixDetails ( matrixList ) ; setDepartmentSelected ( getDepartment ( ) ) ; setAdditionalRuleSelected ( getAdditionalRule ( ) ) ; setMode ( VIEW ) ; LOGGER . info ( "createWorkFlowforobjects Method is ended" ) ; return NEW ; }
this method creates the workflow matrix for the selected objecttype
