Thanks Vijay,
The Drools 5.1.1 javadocs that I downloaded do not include
XmlRuleFlowProcessDumper, hence the source of my confusion.
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Vijay K Pandey
Sent: Tuesday, August 31, 2010 7:46 PM
To: Rules Users List
Subject: Re: [rules-users] RuleFlowProcessFactory - no XML output?
Pass your RuleFlowProcess (process) object to following Drools XML dumper
classes to get what you need.
String processBPMNXML = XmlRuleFlowProcessDumper.INSTANCE.dump(process);
String processRFXML = XmlBPMNProcessDumper.INSTANCE.dump(process);
Will return the XML in BPMN or RuleFlow respectively.
Vijay
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Jeff Parks
Sent: Tuesday, August 31, 2010 6:39 PM
To: rules-users(a)lists.jboss.org
Subject: Re: [rules-users] RuleFlowProcessFactory - no XML output?
I should have mentioned that I am using Drools 5.1.1
From: Jeff Parks [mailto:jeff.parks@comcast.net]
Sent: Tuesday, August 31, 2010 4:33 PM
To: 'rules-users(a)lists.jboss.org'
Subject: RuleFlowProcessFactory - no XML output?
I like the idea of creating a Drools Process via the Process API. It fits my
usage model very well . What surprises me is that I have not seen a way to
take the RuleFlowProcess and create a Process in XML format, which I would
think to be a natural extension. I have to think I am missing something -
can someone share me some code snippet that accomplishes my goal?
thanks