how do i create a process flow for bpmn2 programmatically in eclipse?

You can use Fluent API [1][2] to programatically create process definition. I am not sure if you can set X-Y coordinates of respective nodes, so can’t confirm that importing *.BPMN file generated with this API into a BPMN designer will render properly – but it will be definitely executable.

[1] https://github.com/kiegroup/jbpm/blob/master/jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/ProcessFactoryTest.java#L70

[2] https://docs.jboss.org/jbpm/release/7.33.0.Final/jbpm-docs/html_single/#_process_fluent_api

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top