hi
for(FlowElement fe : data) {
// here i want to get attributes also like sourceref , targetref and default attributes and other attributes also
System.out.println(fe.getDocumentation() + " " + fe.getId() + " " + fe.getName() + " ");
}
//here i want to get attributes also like sourceref , targetref and default attributes and other attributes also
but that properties is unable to show in object help with dot.
pls help me…
<blockcode>
BpmnModel model = repositoryService.getBpmnModel("newxml:2:66");
List<org.activiti.bpmn.model.Process> processes = model.getProcesses();
System.out.println("out 1");
for(Process proc : processes) {
System.out.println("out 2");
Collection<FlowElement> data = proc.getFlowElements() ;
for(FlowElement fe : data) {
// here i want to get attributes also like sourceref , targetref and default attributes and other attributes also
System.out.println(fe.getDocumentation() + " " + fe.getId() + " " + fe.getName() + " ");
}
System.out.println(data + " ok ");
//Collection data = proc.getFlowElements();
//listRequirements(proc);
}
</blockcode>