[rules-users] A question about using "lane" in Drools-flow

Tihomir Surdilovic tsurdilo at redhat.com
Tue Mar 15 10:24:40 EDT 2011


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
> rules-users at lists.jboss.org
> 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.html 


More information about the rules-users mailing list