如何获得流程定义的所有节点

临远 2014-12-9 0:00:00 阅读:1764 回复:1

问题原因:想获取流程定义里的节点

ProcessDefinitionEntity processDefinitionEntity = processEngine
    .getManagementService()
    .executeCommand(new GetDeploymentProcessDefinitionCmd(processDefinitionId));
List<ActivityImpl> activities = processDefinitionEntity.getActivities();

 

临远 2014-12-9 0:00:00