I want to get all elements in my bpmn but i think there is just findFlowElementsOfType().
also I want to know what is the type of next element. but outgoing() and targetRef() returns just a string. can I get the exact element using these strings?
I mean when I get targetRef, can I use it to get target element?