cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the task names from the BpmnModel object?

kum9sud
Champ in-the-making
Champ in-the-making
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?
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Don't use the locationMap, use the findFlowElement() method using the task id. But first you'll to get your process via BpmnModel.getProcess(processId).
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.