[rules-users] RuleFlowProcessFactory - no XML output?

Vijay K Pandey VPandey at mdes.ms.gov
Tue Aug 31 22:45:41 EDT 2010


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/20100831/eafa2d0a/attachment.html 


More information about the rules-users mailing list