Thanks Tihomir. Attached is my bpmn file which I haven't edited. I don't think I am using jBPM. I just new a ruleflow file which is supported by Drools 5.1. It's a bpmn file.
For question 3, I created a bpmn file in eclipse and didn't edit it. Then try to import it into oryx. It didn't work. Thanks for your answer! Best regards, ---- Wen On Tue, Mar 15, 2011 at 12:00 PM, <[email protected]>wrote: > Send rules-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.jboss.org/mailman/listinfo/rules-users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of rules-users digest..." > > > Today's Topics: > > 1. Importing existing .dslr + .dsl to Guvnor (wantastic) > 2. Re: A question about using "lane" in Drools-flow > (Tihomir Surdilovic) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 15 Mar 2011 07:24:16 -0700 (PDT) > From: wantastic <[email protected]> > Subject: [rules-users] Importing existing .dslr + .dsl to Guvnor > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > Hello everyone, > > I am a newbie to Guvnor. I have a set of .dslr files with .dsl to > translate > them. > I know I can just copy and paste .dslr file and .dsl file. However, the > problem is that > I call external function within .dsl file and when I try to validate the > dsl, it complains for not having the method. > > ex) > > [condition][Trade]xpathMatch "{xpath}"=trade : Trade( type == > Trade.TRADE_TYPE ) and eval( DslHelper.xmlContentMatches(trade, "{xpath}") > ) > > This is my condition and it has all models like Trade. However, it > complains > about not having DslHelper function. This function has so many dependencies > that I cannot upload through POJO jar. > > Is there any elegant way to solve this problem? > > > Thanks in advance :) > > -- > View this message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/Importing-existing-dslr-dsl-to-Guvnor-tp2681597p2681597.html > Sent from the Drools - User mailing list archive at Nabble.com. > > > ------------------------------ > > Message: 2 > Date: Tue, 15 Mar 2011 10:24:40 -0400 > From: Tihomir Surdilovic <[email protected]> > Subject: Re: [rules-users] A question about using "lane" in > Drools-flow > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > On 3/14/11 9:27 PM, Wen Yao wrote: > > Hi, > > > > When I was working on a project using Drools-flow, I had some problems > > with the "lane" and "laneset". > > > > 1. In eclipse, I used the Flow editor to create a process and add some > > swimlanes. When I tried to run it, it always had this error: > > org.xml.sax.SAXParseException: <lane> is after an invalid element: > > org.drools.xml.Handler > > Then I looked into the XML file and changed the following code: > > > > <laneSet> > > <lane name="Patient" > > > </lane> > > <lane name="Doctor" > > > </lane> > > </laneSet> > > > > to: > > <laneSet> > > <lane name="Patient" > > > </lane> > > </laneSet> > > <laneSet> > > <lane name="Doctor" > > > </lane> > > </laneSet> > > It worked. Could you explain why? > > Are you using jbpm-5.0-Final? I am not able to reproduce the mentioned > error. Upload your bpmn2 please. > > > > 2. I created a process in the web-based oryx designer with a pool that > > contains several lanes. Then I imported this file in Eclipse, which > > cannot open it correctly because of the lane issue, since the format > > in oryx exported file is like this: > > <laneSet id="XXX"> > > <lane name="Patient" > > > </lane> > > <lane name="Doctor" > > > </lane> > > </laneSet> > Oryx follows the bpmn2 schema correctly. > > > > 3. The bpmn file I created in Eclipse, although validated to be > > correct, cannot be imported in Oryx. I am wondering whether it can be > > done this way. > Is this after you made your custom xml changes? > > > > Could you kindly address my concerns? > > > > Thank you very much! > > > > > > > > Best regards, > > ---- > > Wen > > > > > > _______________________________________________ > > rules-users mailing list > > [email protected] > > https://lists.jboss.org/mailman/listinfo/rules-users > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.jboss.org/pipermail/rules-users/attachments/20110315/9a11773c/attachment-0001.html > > ------------------------------ > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > > > End of rules-users Digest, Vol 52, Issue 67 > ******************************************* >
patientVisit.bpmn
Description: Binary data
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
