Print all possible paths in bpmn2 diagram made with eclipse bpmn2 modeler

220 views Asked by At

I am new to BPMN and BPMN2 Modeler. I want to print all paths from start event to end event. is there any script available to do that?

1

There are 1 answers

2
SpaceTrucker On

I don't know if such a script exists, but if you are willing to invest some work you could create it yourself by loading the EMF resource of your bpmn model. Then calculate those paths from the java instance of your bpmn model. This is relatively easy.

Another option would be to use a Model Query of Eclipse MoDisco. You could write it using OCL or Java.

I created a similiar query for UML Activity diagrams. That wasn't too much work. When using MoDisco infrastructure, you need not to worry about loading of the model.