I've had the same issue (mentioned in the "avoid loops" thread), and I solved
it by setting each rule that needed to only be fired once to have its own
activation-group (activation-group name = rule name). It would then be fired
only once (although, it would be activated many, many times).
I do
Hi,
I have been running more test cases on Drools-Guvnor, 5.1.0.M2, and I found a
solution for the question 3) I had on my initial email thread.
As for the 1), and 2), here is more context, hope that will help in
debugging/solving my issues, as I am stuck at this point.
1) I need to create a B
And it works :)
On Sun, Jul 18, 2010 at 7:47 PM, Meeraj Kunnumpurath <
mkunnumpur...@googlemail.com> wrote:
> Thanks.
>
> In fact, I found this in the documentation, trying to follow your advice on
> using DRL functions
>
>
>
> Alternatively, you could use a static method in a helper class, e.g.
Thanks.
In fact, I found this in the documentation, trying to follow your advice on
using DRL functions
Alternatively, you could use a static method in a helper class, e.g.,
Foo.hello(). Drools supports the use of function imports, so all you would
need to do is:
import function my.package.Foo
Regretfully, no: import static is not implemented.
Consider using a DRL function to wrap the call of the static method,
to achieve a shorter call.
-W
2010/7/18 Meeraj Kunnumpurath :
> Hi,
>
> Are static imports as shown below allowed in rule files? It is giving me a
> parse exception.
>
> packag
Hi,
Are static imports as shown below allowed in rule files? It is giving me a
parse exception.
package mypackage;
dialect "mvel"
import mypackage.CreditTransferTransactionInformation10;
import static mypackage.ValidationHelper.invalidate;
global java.util.Set accountNumbers;
rule "Check debt
Hi Mauricio,
Thanks for the reply. I made some progress with the orm.xml you
provided. The orm.xml in the 5.1.0.M2 distribution has the named query as:
select
processInstanceInfo.processInstanceId
from
ProcessInstanceInfo processInstanceInfo
where
:type in (processInstanceInfo.e
Hi,
Oh, right. I am using 5.1.0.M2.
Thanks,
Patricia
--- On Sun, 7/18/10, Salaboy wrote:
From: Salaboy
Subject: Re: [rules-users] How to configure conditional elements (IN, FROM) in
Guvnor and more
To: "Rules Users List"
Cc: "rules-users@lists.jboss.org"
Date: Sunday, July 18, 2010, 11:17
Which version of guvnor are you using?
- CTO @ http://www.plugtree.com
- MyJourney @ http://salaboy.wordpress.com
- Co-Founder @ http://www.jbug.com.ar
- Mauricio "Salaboy" Salatino -
On Jul 18, 2010, at 4:22, Patricia Bogoevici
wrote:
> Hi,
>
> I am evaluating Drools Guvnor for our applicat
Hi,
I am evaluating Drools Guvnor for our application, and I am stuck with a few
things. I appreciate a lot, if someone can help me, or give me some hints.
1) How can I configure Guvnor, BRL Guided Editor, to allow for IN conditional
element?
By default, when I create a new package, and then c
10 matches
Mail list logo