Traversing BMPN Element Graph

Hi, in order to get (custom) ‘properties’ that could potentially reach a Node through out the Graph I’m traversing the BPMN Model with an Dijkstra .

Currently I’m parsing the XML and traverse the nodes via the ‘incoming’/‘outgoing’ / ‘sourceRef’/‘targetRef’ attributes.

I was wondering if there is something like this in the the BusinessObjects of the node elements.

As far as I’ve got I’m using the ‘incoming’ and ‘outgoing’ JSON members, but they stop at ‘sequenceFlows’, because they lack ‘incoming’ and ‘outgoing’ members. I checked the JSONs and they didn’t have a ‘sourceRef’/‘targetRef’ as in the XML.

So my question is, can you use the BusinessObjects/Elements of the BPMN Modeller in JSON to traverse the graph?

Hi,

Which Camunda library/tool do you intend to use? Camunda Modeler, bpmn.io libraries, Camunda BPMN model API?

Cheers,
Thorben

Hi,

Currently we are using the bpmn.io with Frontside JavaScript.

Greetings,
Kada

Hi Kada,

Thanks for clarifying. This question may then be better placed at the bpmn.io forums at https://forum.bpmn.io/.

Cheers,
Thorben