/**
* 获取跟踪信息
*/
@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);