Victor
Victor

Reputation: 3475

How to Save jBPM 5 Process Definition Created via API?

Once I have created a Process Definition as described in the documentation section 5.1.3 how do I then save that Process as BPML?

Upvotes: 0

Views: 786

Answers (1)

Victor
Victor

Reputation: 3475

Answering my own question. What I found is that I can do this as the last line in the mentioned example from the User Guide and I will get the XML for the Process.

System.out.println(XmlBPMNProcessDumper.INSTANCE.dump(process, XmlBPMNProcessDumper.NO_META_DATA));

If there is a better way please let me know.

Upvotes: 1

Related Questions