Hello,
Thanks for your answer. I read more about the work item, and how to use that in Drools.
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.
But I ran into an issue regarding gateway direction. Drools does not implement the gateway
direction mixed 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.
Is any workaround to this that you can recommend? Do you intend to implement mixed gateway
direction in the next releases?
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.
Thanks again,
Patricia
--- On Fri, 8/6/10, Kris Verlaenen <kris.verlaenen(a)cs.kuleuven.be> wrote:
From: Kris Verlaenen <kris.verlaenen(a)cs.kuleuven.be>
Subject: Re: [rules-users] Drools BPMN 2.0 service task error for process editedusing
Oryx
To: "Rules Users List" <rules-users(a)lists.jboss.org>
Date: Friday, August 6, 2010, 9:26 AM
Patricia,
Note that the service task should contain an
operationRef that refers to an operation defined as part of an interface in your
process. 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).
Note that the service task concept in BPMN2 matches
with the work item node in Drools Flow. So while the editor contains 2
predefined service tasks, is it possible to define your own, as explained in the
documentation here:
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/t...
Kris
----- Original Message -----
From:
Patricia Bogoevici
To: Rules Users List
Sent: Tuesday, August 03, 2010 9:47
PM
Subject: [rules-users] Drools BPMN 2.0
service task error for process editedusing Oryx
Hi all,
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
process file created with Oryx designer, in Eclipse, as it complains
about this error:
"java.lang.IllegalArgumentException: No
interfaces found at
org.drools.bpmn2.legacy.beta1.ServiceTaskHandler.handleNode(ServiceTaskHandler.java:35)"
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.
I appreciate a lot if someone can help me with this issue, as I
am practically stuck at this point.
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?
Can I use serviceTask BPMN 2.0 element in Drools workflow?
****** serviceTask from Oryx process
******
<serviceTask implementation="webService"
completionQuantity="1" startQuantity="1"
isForCompensation="false"
name="AH Web Service"
id="oryx_B84C15D7-ADA6-4956-8C43-3DFD02967BE1"/>
Thanks in
advance,
Patricia
_______________________________________________
rules-users mailing
list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Disclaimer:
http://www.kuleuven.be/cwis/email_disclaimer.htm for more information.
-----Inline Attachment Follows-----
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users