I am only able to get the event/task ID's from the BpmnModel object. Following is the code snippet-
BpmnModel model = repositoryService.getBpmnModel(procDefId);
System.out.println("Location map : "+model.getLocationMap().entrySet());
Is there a way we can get the task names as well?