<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello,<br><br>Thanks for your answer. I read more about the work item, and how to use that in Drools.<br><br>Coming back to my example, I added the operationRef to the service task, and I added the interface element to specify the operation. There was a minor error, as if I add the interface after the process element is defined, is still complaining with the same error I posted originally. But if I move the interface element before the process element is defined, is working fine. So, that fixed my initial problem with the service task. <br><br>But I ran into an issue regarding gateway direction. Drools does not implement the gateway direction <span style="font-weight: bold;">mixed</span> and I have one of that gateway in my test scenario. I tried to think of how to modify my process to not use mixed gateway direction, but it is not easy. I can add some extra
 steps but that does not make sense all the time, or to add extra converging gateways.&nbsp; <br>Is any workaround to this that you can recommend? Do you intend to implement mixed gateway direction in the next releases?<br><br>Also, I have another question regarding business task. In Drools, one can specify the ruleflow-group for a business rule task. I wonder why I cannot specify a rule name as well. I can see the benefits of using ruleflow-group, but I also see the benefits of being able to specify a rule name directly, i.e. call a decision table, it is easier to specify the decision table file name, than to add a ruleflow-group. It does not add a lot of benefit to the overall process, but it seems more easier.<br><br>Thanks again,<br>Patricia<br><br>--- On <b>Fri, 8/6/10, Kris Verlaenen <i>&lt;kris.verlaenen@cs.kuleuven.be&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From:
 Kris Verlaenen &lt;kris.verlaenen@cs.kuleuven.be&gt;<br>Subject: Re: [rules-users] Drools BPMN 2.0 service task error for process editedusing Oryx<br>To: "Rules Users List" &lt;rules-users@lists.jboss.org&gt;<br>Date: Friday, August 6, 2010, 9:26 AM<br><br><div id="yiv597299962">

 
 
<style></style>
<div><font face="Arial" size="2">Patricia,</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Note that the service task should contain an 
operationRef that refers to an operation defined as part of an interface in your 
process.&nbsp; The process would probably open fine if you included that 
element, though I must admit that it should probably be able to handle 
incomplete process specifications as well (but this is still work in progress, 
especially since Oryx is still using the old BPMN 2.0 beta1 
format).</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Note that the service task concept in BPMN2 matches 
with the work item node in Drools Flow.&nbsp; So while the editor contains 2 
predefined service tasks, is it possible to define your own, as explained in the 
documentation here:</font></div>
<div><font face="Arial" size="2"><a rel="nofollow" target="_blank" href="https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch.Domain_Specific_Processes.html">https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch.Domain_Specific_Processes.html</a></font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Kris</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;">
  <div style="font: 10pt arial;">----- Original Message ----- </div>
  <div style="font: 10pt arial; background: none repeat scroll 0% 0% rgb(228, 228, 228);"><b>From:</b> 
  <a rel="nofollow" title="patriciabogoevici@yahoo.com" ymailto="mailto:patriciabogoevici@yahoo.com" target="_blank" href="/mc/compose?to=patriciabogoevici@yahoo.com">Patricia Bogoevici</a> </div>
  <div style="font: 10pt arial;"><b>To:</b> <a rel="nofollow" title="rules-users@lists.jboss.org" ymailto="mailto:rules-users@lists.jboss.org" target="_blank" href="/mc/compose?to=rules-users@lists.jboss.org">Rules Users List</a> </div>
  <div style="font: 10pt arial;"><b>Sent:</b> Tuesday, August 03, 2010 9:47 
  PM</div>
  <div style="font: 10pt arial;"><b>Subject:</b> [rules-users] Drools BPMN 2.0 
  service task error for process editedusing Oryx</div>
  <div><br></div>
  <table border="0" cellpadding="0" cellspacing="0">
    <tbody>
    <tr>
      <td valign="top">Hi all,<br><br>I am using Drools 5.1 release, and I am 
        testing the BPMN process definition created with Oryx designer. The main 
        problem I ran into is the serviceTask element. I cannot open the&nbsp; 
        process file created with Oryx designer, in Eclipse, as it complains 
        about this error:<br><br>"java.lang.IllegalArgumentException: No 
        interfaces found at 
        org.drools.bpmn2.legacy.beta1.ServiceTaskHandler.handleNode(ServiceTaskHandler.java:35)" 
        <br><br>Below is a snippet from the BPMN 2.0 xml file got using Oryx for 
        serviceTask. I also attached the whole xml file, in case that help. 
        <br><br>I appreciate a lot if someone can help me with this issue, as I 
        am practically stuck at this point. <br><br>On the other hand, I noticed 
        that Drools Eclipse workflow editor allows only for 2 types of service 
        tasks: Email and Log. Is that a limitation of the Eclipse workflow 
        editor, or the serviceTask is not implemented in Drools BPMN 2.0? 
        <br>Can I use serviceTask BPMN 2.0 element in Drools workflow? 
        <br><br><br>****** serviceTask from Oryx process 
        ******<br>&lt;serviceTask implementation="webService" 
        completionQuantity="1" startQuantity="1" isForCompensation="false" 
        name="AH Web Service" 
        id="oryx_B84C15D7-ADA6-4956-8C43-3DFD02967BE1"/&gt;<br><br><br>Thanks in 
        advance,<br>Patricia<br></td></tr></tbody></table><br>
  <p>
  </p><hr>

  <p></p>_______________________________________________<br>rules-users mailing 
  list<br>rules-users@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/rules-users<br></blockquote><br>
<font>Disclaimer: <a rel="nofollow" target="_blank" href="http://www.kuleuven.be/cwis/email_disclaimer.htm">http://www.kuleuven.be/cwis/email_disclaimer.htm</a> for more information.</font>
 <br>

</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>rules-users mailing list<br><a ymailto="mailto:rules-users@lists.jboss.org" href="/mc/compose?to=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></div></blockquote></td></tr></table><br>