anchor.diff:  							
   							pageContext.setAttribute("results", results);
   							pageContext.setAttribute("total", total);
  -							
  -							try {
  -								
  -								long processWorkFlowId = ProcessOrderLocalServiceUtil
  -										.getProcessOrder(processOrders.get(0).getProcessOrderId()).getProcessWorkflowId();
  -								
  -								if(processWorkFlowId > 0) {
  -									ProcessWorkflow processWorkflow = ProcessWorkflowLocalServiceUtil.getProcessWorkflow(processWorkFlowId);
  -									
  -									if(Validator.isNotNull(processWorkflow) && processWorkflow.getIsMultipled()) {
  -										isMultiAssign = true;
  -									}
  -								}
  -								
  -							} catch(Exception e) {}
  -							
  -							if(isMultiAssign) {
  -								searchContainer.setRowChecker(rowChecker);
  -							}
   						%>
   					</liferay-ui:search-container-results>	
   						<liferay-ui:search-container-row 
  
positive.code: 	
  	String tabs1 = ParamUtil.getString(request, "tabs1", ProcessUtils.TOP_TABS_PROCESS_ORDER_WAITING_PROCESS);
  
  	List<ProcessOrderBean> processOrderServices = new ArrayList<ProcessOrderBean>();
  	
  	List<ProcessOrderBean> processOrderSteps = new ArrayList<ProcessOrderBean>();
  	
  	String dossierSubStatus = ParamUtil.getString(request, "dossierSubStatus");
  	
  	long serviceInfoId = ParamUtil.getLong(request, "serviceInfoId");
  	
  	long processStepId = ParamUtil.getLong(request, "processStepId");
  	
  	try {
  
  		if (tabs1
  				.equals(ProcessUtils.TOP_TABS_PROCESS_ORDER_WAITING_PROCESS)) {
  			processOrderServices = (List<ProcessOrderBean>) ProcessOrderLocalServiceUtil
  					.getProcessOrderServiceByUser(themeDisplay
  							.getUserId());
  
  			for (ProcessOrderBean ett : processOrderServices) {
  				processOrderSteps
  						.addAll((List<ProcessOrderBean>) ProcessOrderLocalServiceUtil
  								.getUserProcessStep(
  										themeDisplay.getUserId(),
  										ett.getServiceInfoId()));
  			}
  
  			if (serviceInfoId > 0) {
  				processOrderSteps = (List<ProcessOrderBean>) ProcessOrderLocalServiceUtil
  						.getUserProcessStep(themeDisplay.getUserId(),
  								serviceInfoId);
  			}
  		} else {
  			processOrderServices = (List<ProcessOrderBean>) ProcessOrderLocalServiceUtil
  					.getProcessOrderServiceJustFinishedByUser(themeDisplay
  							.getUserId());
  
  			for (ProcessOrderBean ett : processOrderServices) {
  				processOrderSteps
  						.addAll((List<ProcessOrderBean>) ProcessOrderLocalServiceUtil
  								.getUserProcessStep(
  										themeDisplay.getUserId(),
  										ett.getServiceInfoId()));
  			}
  
  			if (serviceInfoId > 0) {
  				processOrderSteps = (List<ProcessOrderBean>) ProcessOrderLocalServiceUtil
  						.getUserProcessStepJustFinished(
  								themeDisplay.getUserId(), serviceInfoId);
  			}
  		}
  
  	} catch (Exception e) {
  	}
  
  	//remove duplicates process orders
  	Map<String, ProcessOrderBean> cleanMap = new LinkedHashMap<String, ProcessOrderBean>();
  	for (int i = 0; i < processOrderSteps.size(); i++) {
  		cleanMap.put(processOrderSteps.get(i).getProcessStepId() + "",
  				processOrderSteps.get(i));
  	}
  	processOrderSteps = new ArrayList<ProcessOrderBean>(
  			cleanMap.values());
  
  	JSONObject arrayParam = JSONFactoryUtil.createJSONObject();
  	arrayParam.put("serviceInfoId",
  			(serviceInfoId > 0) ? String.valueOf(serviceInfoId)
  					: StringPool.BLANK);
  	arrayParam.put("processStepId",
  			(processStepId > 0) ? String.valueOf(processStepId)
  					: StringPool.BLANK);
  	arrayParam.put("tabs1", tabs1);
  
  	String processStepIdJsonData = ProcessOrderUtils.generateTreeView(
  			processOrderSteps,
  			LanguageUtil.get(locale, "filter-process-step").replaceAll(
  					"--", StringPool.BLANK), "radio");
  %>
  
  <aui:row>
  	<aui:col width="25">
  		<div style="margin-bottom: 25px;" class="opencps-searchcontainer-wrapper default-box-shadow radius8">
  			<div id="processStepIdTree" class="openCPSTree"></div>
  		</div>
  	
  		<div class="opencps-searchcontainer-wrapper default-box-shadow radius8">
  			<div id="serviceInfoIdTree" class="openCPSTree"></div>
  			
  			<%
  				String serviceInfoIdJsonData = ProcessOrderUtils
  					.generateTreeView(
  							processOrderServices,
  							LanguageUtil.get(locale, "service-info")
  									.replaceAll("--", StringPool.BLANK),
  							"radio");
  			%>
  			
  		</div>
  	
  		<liferay-portlet:actionURL var="menuCounterUrl" name="menuCounterAction"/>
  		
  		<liferay-portlet:actionURL var="menuCounterServiceInfoIdUrl" name="menuCounterServiceInfoIdAction"/>
  		
  		<aui:script use="liferay-util-window,liferay-portlet-url">
  		
  			var serviceInfoId = '<%=String.valueOf(serviceInfoId) %>';
  			var processStepId = '<%=String.valueOf(processStepId) %>';
  			var serviceInfoIdJsonData = '<%=serviceInfoIdJsonData%>';
  			var processStepIdJsonData = '<%=processStepIdJsonData%>';
  			var arrayParam = '<%=arrayParam.toString() %>';
  			AUI().ready(function(A){
  				buildTreeView("serviceInfoIdTree", 
  					"serviceInfoId", 
  					serviceInfoIdJsonData, 
  					arrayParam, 
  					'<%= PortletURLFactoryUtil.create(request, WebKeys.PROCESS_ORDER_PORTLET, themeDisplay.getPlid(), PortletRequest.RENDER_PHASE) %>', 
  					'<%=templatePath + "processordertodolist.jsp" %>', 
  					'<%=LiferayWindowState.NORMAL.toString() %>', 
  					'normal',
  					'<%=menuCounterServiceInfoIdUrl.toString() %>',
  					serviceInfoId,
  					'<%=renderResponse.getNamespace() %>',
  					'<%=hiddenToDoListTreeMenuEmptyNode%>'
  				);
  				
  				buildTreeView("processStepIdTree", 
  					'processStepId', 
  					processStepIdJsonData, 
  					arrayParam, 
  					'<%= PortletURLFactoryUtil.create(request, WebKeys.PROCESS_ORDER_PORTLET, themeDisplay.getPlid(), PortletRequest.RENDER_PHASE) %>', 
  					'<%=templatePath + "processordertodolist.jsp" %>', 
  					'<%=LiferayWindowState.NORMAL.toString() %>', 
  					'normal',
  					'<%=menuCounterUrl.toString() %>',
  					processStepId,
  					'<%=renderResponse.getNamespace() %>',
  					'<%=hiddenToDoListTreeMenuEmptyNode%>'
  				);
  				
  			});
  			
  		</aui:script>
  	
  	</aui:col>
  	
  	<aui:col width="75" >
  
  		<aui:form name="fm">
  			<div class="opencps-searchcontainer-wrapper">
  			
  			<c:if test="<%=ProcessOrderPermission.contains(permissionChecker, scopeGroupId, ActionKeys.ASSIGN_PROCESS_ORDER) && 
  			serviceInfoId > 0 && processStepId > 0 %>">
  			
  				<aui:button name="multiAssignToUserBtn" value="multiAssignToUserBtn"/>
  				
  			</c:if>
  				<liferay-ui:search-container 
  					searchContainer="<%= new ProcessOrderSearch(renderRequest, SearchContainer.DEFAULT_DELTA, iteratorURL) %>"
  					headerNames="<%= headers%>"
  				>
  				
  
negative.code: 
  <%@page import="java.util.Set"%>
  <%@page import="java.util.HashSet"%>
  <%@page import="org.opencps.util.PortletConstants"%>
  <%
  /**
   * OpenCPS is the open source Core Public Services software
  