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