Thanks Tihomir.<br><br>Attached is my bpmn file which I haven&#39;t edited. I don&#39;t think I am using jBPM. I just new a ruleflow file which is supported by Drools 5.1. It&#39;s a bpmn file.<br><br>For question 3, I created a bpmn file in eclipse and didn&#39;t edit it. Then try to import it into oryx. It didn&#39;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">&lt;<a href="mailto:rules-users-request@lists.jboss.org">rules-users-request@lists.jboss.org</a>&gt;</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 &#39;help&#39; 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 &quot;Re: Contents of rules-users digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Importing existing .dslr + .dsl to Guvnor (wantastic)<br>
   2. Re: A question about using &quot;lane&quot; 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 &lt;<a href="mailto:wantastic@gmail.com">wantastic@gmail.com</a>&gt;<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: &lt;<a href="mailto:1300199055985-2681597.post@n3.nabble.com">1300199055985-2681597.post@n3.nabble.com</a>&gt;<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 &quot;{xpath}&quot;=trade : Trade( type ==<br>
Trade.TRADE_TYPE ) and eval( DslHelper.xmlContentMatches(trade, &quot;{xpath}&quot;) )<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 &lt;<a href="mailto:tsurdilo@redhat.com">tsurdilo@redhat.com</a>&gt;<br>
Subject: Re: [rules-users] A question about using &quot;lane&quot; in<br>
        Drools-flow<br>
To: <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
Message-ID: &lt;<a href="mailto:4D7F76A8.5030108@redhat.com">4D7F76A8.5030108@redhat.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
On 3/14/11 9:27 PM, Wen Yao wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; When I was working on a project using Drools-flow, I had some problems<br>
&gt; with the &quot;lane&quot; and &quot;laneset&quot;.<br>
&gt;<br>
&gt; 1. In eclipse, I used the Flow editor to create a process and add some<br>
&gt; swimlanes. When I tried to run it, it always had this error:<br>
&gt; org.xml.sax.SAXParseException: &lt;lane&gt; is after an invalid element:<br>
&gt; org.drools.xml.Handler<br>
&gt; Then I looked into the XML file and changed the following code:<br>
&gt;<br>
&gt; &lt;laneSet&gt;<br>
&gt; &lt;lane name=&quot;Patient&quot; &gt;<br>
&gt; &lt;/lane&gt;<br>
&gt; &lt;lane name=&quot;Doctor&quot; &gt;<br>
&gt; &lt;/lane&gt;<br>
&gt; &lt;/laneSet&gt;<br>
&gt;<br>
&gt; to:<br>
&gt; &lt;laneSet&gt;<br>
&gt; &lt;lane name=&quot;Patient&quot; &gt;<br>
&gt; &lt;/lane&gt;<br>
&gt; &lt;/laneSet&gt;<br>
&gt; &lt;laneSet&gt;<br>
&gt; &lt;lane name=&quot;Doctor&quot; &gt;<br>
&gt; &lt;/lane&gt;<br>
&gt; &lt;/laneSet&gt;<br>
&gt; 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>
&gt;<br>
&gt; 2. I created a process in the web-based oryx designer with a pool that<br>
&gt; contains several lanes. Then I imported this file in Eclipse, which<br>
&gt; cannot open it correctly because of the lane issue, since the format<br>
&gt; in oryx exported file is like this:<br>
&gt; &lt;laneSet id=&quot;XXX&quot;&gt;<br>
&gt; &lt;lane name=&quot;Patient&quot; &gt;<br>
&gt; &lt;/lane&gt;<br>
&gt; &lt;lane name=&quot;Doctor&quot; &gt;<br>
&gt; &lt;/lane&gt;<br>
&gt; &lt;/laneSet&gt;<br>
Oryx follows the bpmn2 schema correctly.<br>
&gt;<br>
&gt; 3. The bpmn file I created in Eclipse, although validated to be<br>
&gt; correct, cannot be imported in Oryx. I am wondering whether it can be<br>
&gt; done this way.<br>
Is this after you made your custom xml changes?<br>
&gt;<br>
&gt; Could you kindly address my concerns?<br>
&gt;<br>
&gt; Thank you very much!<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Best regards,<br>
&gt; ----<br>
&gt; Wen<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <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>