Hi all
I have a problem with the User Task work Item when I have an in and out
parameters. I am using a simple scenario just to reproduce the Error and
exception and the scenario is:
Start -> user task with parameter (in, out) -> End
I am having the following exception once I execute the T
Thanks Vijay Its working nowDeepak Jambhekar-rules-users-boun...@lists.jboss.org wrote: -To: Rules Users List From: Vijay K Pandey Sent by: rules-users-boun...@lists.jboss.orgDate: 12/03/2009 11:13AMSubject: Re: [rules-users] Interface implementation not working..
Problem is with y
Hello all,
Is it possible to define the follow rule in a decision table :
rule "Activate Promotion"
when
l : Line( )
not ( Promotion ( code == "HOTBUY" ) from l.promos )
then
#do some action
end
The rule above works perfectly for wha
Problem is with your interface modifier declaration. Your modifier is "default"
, convert that to "public" and it should be fine.
Change interface Generalized
TO
public interface Generalized
You don't have to set "public" modifier to the "Display" method - by default
interface method visi
Hi Ravi,
I'll quote Greg Barton on a recent post here:
*
*
>
> *You can also implement various listeners, (WorkingMemoryListener,
> AgendaEventListener, and other such goodies in package org.drools.event)
> register them with your session, and make assertions over the execution data
> they gather.
Is there an out of the box way to start a drools flow asynchronously? I
am running drools flow 5.1.0.M1 in JBoss and have a long running process
to execute. The application that initiates the flow must start the flow
asynchronously so the applications web request can complete in a timely
manne
Is there a way or plan to make the MinaTaskServer multithreaded? If the
server is only executing in a single thread it may not be robust enough
for the human task transaction volumes we are looking to process.
If mina only executes in one thread is there a more robust way to
process human
I am still getting the same error even after making that method as public... ??ThanksDeepak Jambhekar-rules-users-boun...@lists.jboss.org wrote: -To: Rules Users List From: CK Sent by: rules-users-boun...@lists.jboss.orgDate: 12/02/2009 10:28PMSubject: Re: [rules-users] Interface implement
Is anyone successfully using the IDE plugin with the latest Galileo version
of Eclipse. I cannot get it to debug using Galileo(my previous post
concerning debug as) I tested instlaling the IDE plugin by using the IDE
update site link on the following versions. I normally use the Galileo, but
trie
I am using Galileo. Not sure if I downloaded the EE or standard Galileo.
2009/12/2 Leonardo Gomes
> I've been experiencing the same problem, have already tried on both windows
> and ubuntu and also experienced that. The problem seems to be related to
> Galileo and I was thinking that maybe more
I've been experiencing the same problem, have already tried on both windows
and ubuntu and also experienced that. The problem seems to be related to
Galileo and I was thinking that maybe more specifically the JEE version, but
haven't had the time to test it, so far... Are you using the standard
Ga
I used the upate site to update my Eclipse Galileo IDE with the drools
tools, created a new drools project, had it add the hello/goodbye test class
and pointed my workspace to the 5.1M binaries. It runs fine, but when I
Debug As -> Drools Application I get the following errors. I get this error
f
Hello,
My emails stopped getting through from my other emal address and as some
other users had helped me discover, the filtering/spam or whatever has
prevented me from asking questions in the forumn, so I am testing from
another email.
Thanks,
Chris
__
Wolfgang Laun-2 wrote:
>
> The usual approach is to add all KPs in a single add call:
>
Yes, but for my system rules are modular and there is no single place where
they are all known. I could of course define a dual-pass configuration, but
that adds a lot of boilerplate code that adds no busin
Barry Kaplan wrote:
> Oh boy, what a ride. In my real code the two variables are called
> "DeviceOperatingStateModel" and "DeviceUtilizationStateModel". Just as an
> experiment I renamed the second to "aa" -- low and behold the variable was
> resolved. Then I changed to "DeviceUtilizationStateModel
Oh boy, what a ride. In my real code the two variables are called
"DeviceOperatingStateModel" and "DeviceUtilizationStateModel". Just as an
experiment I renamed the second to "aa" -- low and behold the variable was
resolved. Then I changed to "DeviceUtilizationStateModelx" and
"deviceUtilizationSt
The usual approach is to add all KPs in a single add call:
val session = createSessionUsingNoPackages
val kbuilder1 = KnowledgeBuilderFactory.newKnowledgeBuilder
kbuilder1.add("rule1.drl", ResourceType.DRL)
val kbuilder2 = KnowledgeBuilderFactory.newKnowledgeBuilder
kbuilder2.add("rule2.drl", Res
Shah, Malay wrote:
Mark,
In this case, the object types that are bound don't have "not"/"or"
conditions surrounding them (ExecutionOrderHist_core0 and
ExecutionHist_core0). So, these objects would always be there when the
rule is fired. Why would it still not identify and populate the
varia
I'm at my wits end. I have two simple rules in two separate packages, they
are of the form:
rule1:
import somepackage.*
global somepackage.Foo foo
...
then
foo.doSomething(...)
end
rule2:
import otherpackage.*
global otherpackage.Gar gar
...
then
gar.doSomething(...)
Mark,
In this case, the object types that are bound don't have "not"/"or" conditions
surrounding them (ExecutionOrderHist_core0 and ExecutionHist_core0). So, these
objects would always be there when the rule is fired. Why would it still not
identify and populate the variables of the objects, an
when using 'or' the bindings and the object types for those bindings
must balance for each logical outcome.
Mark
Shah, Malay wrote:
Thanks W.
I removed the binding of EtsExecutionOrderXref_core00, and it looked
good. But I am getting ClassCastException when adding new facts and
conditions.
Thanks W.
I removed the binding of EtsExecutionOrderXref_core00, and it looked good. But
I am getting ClassCastException when adding new facts and conditions. I now
have a new fact (EtsExecutionHist_core0) and an eval statement to check if the
rule has already been fired for a unique key that i
Thanks Greg, this is really helpful to me.
I do mostly functional tests on the rules that we use to drive our
games/models. As we trigger JMS messages within our rulebase; I use
the JMSTestCaseAdapter (JUnit 3 compatible) to capture sent messages
and ensure that functional conditions confor
Try changing your BOM_TRANSACTION_DETAILS Display() method access to
public and see if it works.
Currently, you have it as "void Display()" in your
BOM_TRANSACTION_DETAILS method declaration. Change it to "public void
Display()". It might solve your problem.
No need to change method dec
You can also implement various listeners, (WorkingMemoryListener,
AgendaEventListener, and other such goodies in package org.drools.event)
register them with your session, and make assertions over the execution data
they gather. You can track such things as:
Did rule A fire? How many times?
Hi All,
We are evaluating Drools rules engine for one of the clients. The client has
given some parameters based on which evaluation needs to be done.
We were not able to get this information from Drools site. So need your help
in getting this information.
• Number of transactions Drools Engine c
Thanks will look into it.
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Pegram, Macon
Sent: 02 December 2009 16:08
To: Rules Users List
Subject: Re: [rules-users] Testing individual rules
Yes...
We've used a
Yes...
We've used a combination of JUnit, and Easymock to test individual
rules. At a very high level, we do the following:
- In the static setupBeforeClass() method we construct a
KnowledgeBuilder, load any necessary rule files, and construct a
KnowledgeBase using the KnowledgeB
Hi,
This is general question, is it possible to test individual rules in a rules
file? And using what, I am familiar with JUnit, but have seen Fit being used in
examples.
regards
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.j
HiI have created a rule which is as belowrule "myrule"
dialect "mvel"
when
tr : BOM_TRANSACTION_DETAILS( country == "CH" )
then
tr.setCarrierName( "orange" );
tr.Display();
endAnd the Model class is defined as below...interface Generalized
{
void Display();
}public class BOM_TRANSA
30 matches
Mail list logo