[rules-users] RuleFlowProcessFactory - no XML output?

Jeff Parks jeff.parks at comcast.net
Wed Sep 1 17:03:26 EDT 2010


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 at lists.jboss.org
[mailto:rules-users-bounces at 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 at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Jeff Parks
Sent: Tuesday, August 31, 2010 6:39 PM
To: rules-users at 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 at comcast.net] 
Sent: Tuesday, August 31, 2010 4:33 PM
To: 'rules-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100901/f8fa6faf/attachment.html 


More information about the rules-users mailing list