Examples of processInstanceId()


Examples of com.founder.fix.fixflow.core.impl.task.TaskQueryImpl.processInstanceId()


    List<TaskInstance> taskInstanceQueryToList = new ArrayList<TaskInstance>();


    taskQuery.processInstanceId(processInstanceId);
    taskQuery.taskIsEnd().orderByEndTime().asc().orderByTaskCreateTime().asc();
    taskInstanceQueryToList = taskQuery.list();
   
   
   
View Full Code Here

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

      }
      ProcessInstanceQuery processInstanceQuery = runtimeService.createProcessInstanceQuery();
      if(StringUtil.isNotEmpty(processDefinitionKey))
        processInstanceQuery.processDefinitionKey(processDefinitionKey);
      if(StringUtil.isNotEmpty(processInstanceId))
        processInstanceQuery.processInstanceId(processInstanceId);
      if(StringUtil.isNotEmpty(title))
        processInstanceQuery.subjectLike(title);
      if(StringUtil.isNotEmpty(bizKey))
        processInstanceQuery.processInstanceBusinessKeyLike(bizKey);
      if(processInstanceStatus !=null){
View Full Code Here

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

      if(StringUtil.isNotEmpty(processDefinitionKey))
        tq.processDefinitionKey(processDefinitionKey);
     
      String processInstanceId = StringUtil.getString(filter.get("processInstanceId"))//流程实例号
      if(StringUtil.isNotEmpty(processInstanceId))
        tq.processInstanceId(processInstanceId);
     
      String subject = StringUtil.getString(filter.get("subject"))//主题
      if(StringUtil.isNotEmpty(subject))
        tq.subjectLike(subject);
     
View Full Code Here

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

//        processInstanceQuery.queryExpandTo(queryExpandTo);
        processInstanceQuery.processDefinitionNameLike(processName);
       
      }
      if(StringUtil.isNotEmpty(processInstanceId))
        processInstanceQuery.processInstanceId(processInstanceId);
      if(StringUtil.isNotEmpty(subject))
        processInstanceQuery.subjectLike(subject);
      if(StringUtil.isNotEmpty(bizKey))
        processInstanceQuery.processInstanceBusinessKeyLike(bizKey);
      if(StringUtil.isNotEmpty(initor))
View Full Code Here

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

    runtimeService.suspendProcessInstance(processInstanceId);
   
    //创建流程实例查询
    ProcessInstanceQuery processInstanceQuery = runtimeService.createProcessInstanceQuery();
    //查询刚才暂停的流程实例
    processInstanceQuery.processInstanceId(processInstanceId);
    //获取流程实例
    processInstance = processInstanceQuery.singleResult();
    //验证流程实例已经暂停
    assertTrue(processInstance.isSuspended());
   
View Full Code Here

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

    runtimeService.continueProcessInstance(processInstanceId);
   
    //重置流程实例查询
    processInstanceQuery = runtimeService.createProcessInstanceQuery();
    //查询刚才的流程实例
    processInstanceQuery.processInstanceId(processInstanceId);
    //获取流程实例
    processInstance = processInstanceQuery.singleResult();
    //验证不是暂停状态
    assertFalse(processInstance.isSuspended());
  }
View Full Code Here

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

    runtimeService.terminatProcessInstance(processInstanceId);
   
    //创建流程实例查询
    ProcessInstanceQuery processInstanceQuery = runtimeService.createProcessInstanceQuery();
    //查询刚才暂停的流程实例
    processInstanceQuery.processInstanceId(processInstanceId);
    //获取流程实例
    processInstance = processInstanceQuery.singleResult();
    //验证流程实例为终止状态
    assertEquals(ProcessInstanceType.TERMINATION, processInstance.getInstanceType());
  }
View Full Code Here

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

      //执行通用按钮
      taskService.expandTaskComplete(expandTaskCommandGeneral, null);
     
      if(i == 1){
        ProcessInstanceQuery processInstanceQuery = runtimeService.createProcessInstanceQuery();
        processInstance = processInstanceQuery.processInstanceId(processInstanceId).singleResult();
        begin = processInstance.getEndTime();
      }
     
      if(i == 3){
        ProcessInstanceQuery processInstanceQuery = runtimeService.createProcessInstanceQuery();
View Full Code Here

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

        begin = processInstance.getEndTime();
      }
     
      if(i == 3){
        ProcessInstanceQuery processInstanceQuery = runtimeService.createProcessInstanceQuery();
        processInstance = processInstanceQuery.processInstanceId(processInstanceId).singleResult();
        middle = processInstance.getEndTime();
      }
     
      if(i == 4){
        ProcessInstanceQuery processInstanceQuery = runtimeService.createProcessInstanceQuery();
View Full Code Here

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

        middle = processInstance.getEndTime();
      }
     
      if(i == 4){
        ProcessInstanceQuery processInstanceQuery = runtimeService.createProcessInstanceQuery();
        processInstance = processInstanceQuery.processInstanceId(processInstanceId).singleResult();
        end = processInstance.getEndTime();
      }
      Thread.sleep(1000);
    }
    //将1和2归档
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.