Package com.thinkgem.jeesite.common.workflow

Examples of com.thinkgem.jeesite.common.workflow.WorkflowEntity


  /**
   * 获取跟踪信息
   */
  @RequestMapping(value = "processMap")
  public String processMap(String processInstanceId, Model model) throws Exception {
    WorkflowEntity  workflowEntity = WorkflowUtils.getWorkflowEntity(processInstanceId);
    String procDefId = workflowEntity.getProcessDefinition().getId();
    List<ActivityImpl> actImpls = new ArrayList<ActivityImpl>();
    ProcessDefinition processDefinition = repositoryService.createProcessDefinitionQuery().processDefinitionId(procDefId).singleResult();
    ProcessDefinitionImpl pdImpl = (ProcessDefinitionImpl) processDefinition;
    String processDefinitionId = pdImpl.getId();// 流程标识
    ProcessDefinitionEntity def = (ProcessDefinitionEntity) ((RepositoryServiceImpl) repositoryService).getDeployedProcessDefinition(processDefinitionId);
View Full Code Here

TOP

Related Classes of com.thinkgem.jeesite.common.workflow.WorkflowEntity

Copyright © 2018 www.massapicom. 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.