Examples of processDefinitionName()


Examples of com.founder.fix.fixflow.core.model.ProcessDefinitionQuery.processDefinitionName()

    assertEquals(1, processDefinitionBehaviors.size());
   
    //创建流程定义查询
    processDefinitionQuery = modelService.createProcessDefinitionQuery();
    //查询流程名称等于指定启动人权限的StartProcessInstanceTest流程的流程定义
    processDefinitionBehaviors = processDefinitionQuery.processDefinitionName("指定启动人权限的StartProcessInstanceTest流程").list();
    //验证是否为1个
    assertEquals(1, processDefinitionBehaviors.size());
   
    //创建流程定义查询
    processDefinitionQuery = modelService.createProcessDefinitionQuery();
View Full Code Here

Examples of com.founder.fix.fixflow.core.runtime.ProcessInstanceQuery.processDefinitionName()

    assertEquals(10, processInstances.size());
   
    //重置查询
    processInstanceQuery = runtimeService.createProcessInstanceQuery();
    //查询流程定义名称等于“TaskServiceTest”的流程实例
    processInstances = processInstanceQuery.processDefinitionName("TaskServiceTest").list();
    //验证是否有10个
    assertEquals(10, processInstances.size());
   
   
    String processInstanceId = processInstances.get(0).getId();
View Full Code Here

Examples of com.founder.fix.fixflow.core.runtime.ProcessInstanceQuery.processDefinitionName()

    assertTrue(processInstances.get(0).hasEnded());
   
    //重置查询
    processInstanceQuery = runtimeService.createProcessInstanceQuery();
    //查询流程定义名称等于“TaskServiceTest”的流程实例
    processInstances = processInstanceQuery.processDefinitionName("TaskServiceTest").endTimeAfter(end).list();
   
    assertEquals(1, processInstances.size());
   
    //重置查询
    processInstanceQuery = runtimeService.createProcessInstanceQuery();
View Full Code Here

Examples of com.founder.fix.fixflow.core.runtime.ProcessInstanceQuery.processDefinitionName()

    assertEquals(1, processInstances.size());
   
    //重置查询
    processInstanceQuery = runtimeService.createProcessInstanceQuery();
    //查询流程定义名称等于“TaskServiceTest”的流程实例
    processInstances = processInstanceQuery.processDefinitionName("TaskServiceTest").endTimeAfter(begin).list();
   
    assertEquals(0, processInstances.size());
   
    //重置查询
    processInstanceQuery = runtimeService.createProcessInstanceQuery();
View Full Code Here

Examples of com.founder.fix.fixflow.core.runtime.ProcessInstanceQuery.processDefinitionName()

    assertEquals(0, processInstances.size());
   
    //重置查询
    processInstanceQuery = runtimeService.createProcessInstanceQuery();
    //查询流程定义名称等于“TaskServiceTest”的流程实例
    processInstances = processInstanceQuery.processDefinitionName("TaskServiceTest").endTimeBefore(begin).list();
   
    assertEquals(1, processInstances.size());
   
    //重置查询
    processInstanceQuery = runtimeService.createProcessInstanceQuery();
View Full Code Here

Examples of com.founder.fix.fixflow.core.runtime.ProcessInstanceQuery.processDefinitionName()

    assertEquals(1, processInstances.size());
   
    //重置查询
    processInstanceQuery = runtimeService.createProcessInstanceQuery();
    //查询流程定义名称等于“TaskServiceTest”的流程实例
    processInstances = processInstanceQuery.processDefinitionName("TaskServiceTest").endTimeBefore(end).list();
   
    assertEquals(0, processInstances.size());
   
    //重置查询
    processInstanceQuery = runtimeService.createProcessInstanceQuery();
View Full Code Here

Examples of com.founder.fix.fixflow.core.runtime.ProcessInstanceQuery.processDefinitionName()

    assertEquals(0, processInstances.size());
   
    //重置查询
    processInstanceQuery = runtimeService.createProcessInstanceQuery();
    //查询流程定义名称等于“TaskServiceTest”的流程实例
    processInstances = processInstanceQuery.processDefinitionName("TaskServiceTest").endTimeOn(end).list();
   
    assertEquals(0, processInstances.size());
   
   
  }
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskQuery.processDefinitionName()

    //验证取到9条任务
    assertEquals(9, taskEnd.size());
    //重置任务查询
    taskQuery = taskService.createTaskQuery();
    //获取流程定义名称等于TaskServiceTest的任务实例
    long count = taskQuery.processDefinitionName("TaskServiceTest").count();
    //验证是否为150个
    assertEquals(150, count);
   
    //重置任务查询
    taskQuery = taskService.createTaskQuery();
View Full Code Here

Examples of org.activiti.engine.history.HistoricTaskInstanceQuery.processDefinitionName()

    }
    if (queryRequest.getProcessDefinitionId() != null) {
      query.processDefinitionId(queryRequest.getProcessDefinitionId());
    }
    if (queryRequest.getProcessDefinitionName() != null) {
      query.processDefinitionName(queryRequest.getProcessDefinitionName());
    }
    if (queryRequest.getProcessDefinitionNameLike() != null) {
      query.processDefinitionNameLike(queryRequest.getProcessDefinitionNameLike());
    }
    if (queryRequest.getExecutionId() != null) {
View Full Code Here

Examples of org.activiti.engine.repository.ProcessDefinitionQuery.processDefinitionName()

    }
    if (allRequestParams.containsKey("keyLike")) {
      processDefinitionQuery.processDefinitionKeyLike(allRequestParams.get("keyLike"));
    }
    if (allRequestParams.containsKey("name")) {
      processDefinitionQuery.processDefinitionName(allRequestParams.get("name"));
    }
    if (allRequestParams.containsKey("nameLike")) {
      processDefinitionQuery.processDefinitionNameLike(allRequestParams.get("nameLike"));
    }
    if (allRequestParams.containsKey("resourceName")) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.