Reputation: 3475
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
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