kiegroup / jbpmmigration

Migration tool for process definitions from jbpm 3 PDL to standard BPMN2
http://community.jboss.org/wiki/jBPM5migrationtoolproject
16 stars 15 forks source link

insuranceInitializeAndValidateProcess: examine java node with two sequence flows #35

Closed eschabell closed 13 years ago

eschabell commented 13 years ago

We have to look at what to do with a node that uses an action which converts to java node with two leaving transitions. It validates against BPMN2 spec as the java node is an extension. We most likely need to sort out counting transitions (i.e. sequenceflows) and decide to add in a gateway before the next nodes to account for multiple leaving transitions.

eschabell commented 13 years ago

More discussion on this and I think that adding a decision is only representative of what is happening inside the handler java code, but you can't move the code to the gateway. We will leave it as is, just accepting that it validates against the full bpmn2 spec but not displaying in the current project tooling due to sub-class support only.

See article for details on how you need to change your process by hand (to account for your actions within the java code handlers): http://www.schabell.org/2011/06/jbpm-migrations-hints-and-tips-for.html