Hi,
Is there a way to set the date while executing the rules? The effective dates
would be checked against this date instead of today's date. By default the
effective dates would be checked with System date. But in some cases we would
need to execute the rules in a 'back-dated' mode.
Use case.
Hi,
I am using JBoss rules 3.0.6 to externalize all business rules. We have a
requirement were in we want to create a audit report after rules have been
executed. For each rule, we need to track Desired Condition Value(as
specified in when part), Actual Condition Value(value in asserted object)
an
I am getting one exception as : No SuchMethod Exception session.startProcess
(Ljava.lang.String) when i executing the following code in one of the class
:
public static StatefulSession getSession() {
if ( rulebase == null ) {
rulebase = loadRuleBaseFromRuleAgent();
}
sess
Thanks Paul. After putting Jar files in the application lib
folder,application is executing properly
On 3/4/08, Paul Browne <[EMAIL PROTECTED]> wrote:
>
> SB,
>
> Came across this a while back. I *think* the quickest fix is to update any
> Drools Jars (that exist *within* the Web / War ins
Can you please provide an executable, self contained test case? I will
take a look.
[]s
Edson
2008/3/4, samirsss <[EMAIL PROTECTED]>:
>
>
> I tried using the jars from the 4.0.x branch after building them and that
> still doesnt seem to change the outcome. I see that the package builder
Jai,
You can try:
rule "Foo check with inline eval"
when
Foo( eval( a - (b + c) > 0 ) )
then
end
Or, what is better IMO:
rule "Foo check with return value predicate"
when
Foo( a > ( b + c ) )
then
end
Hope it helps.
[]s
I tried using the jars from the 4.0.x branch after building them and that
still doesnt seem to change the outcome. I see that the package builder has
the rule added to it and the count of the rules from it is incremented.
public void testDynamicRules()
{
//Create a rule dynamically an
Are you using "contains" operator to check a hashmap for the existence of
a value? "contains" should only be used with collections, not maps...
[]s
Edson
2008/3/4, Brian Trezise <[EMAIL PROTECTED]>:
>
> I'm getting a strange exception upon inserting an object into working
> memory. Rel
Hi,
Suppose I have a class Foo with integers a, b and c ( methods getA getB
and getC respectively ) and I Want to check if an object of Foo satisfies
a - (b + c) > 0
Is this the best way I go about doing this ?
rule "Foo check"
when
Foo( varA : a , varB:b, varC:c )
eva
Pedro,
You need to use the same rulebase you used to create the working memory
to deserialize it, as well as use the latest version of 4.0.x branch. I
fixed this problem a few days ago.
IMPORTANT: we made an effort on improving/fixing serialization and
dynamic rules use cases in 4.0.5.
I tried building the jars using Maven but am getting exceptions cause some of
the tests are failing. Here's a snippet from the same.
Running org.drools.integrationtests.MultithreadTest
org.drools.RuntimeDroolsException: Exception executing predicate
org.drools.base
[EMAIL PROTECTED]
at
or
I'm getting a strange exception upon inserting an object into working
memory. Relevant information follows:
I'm creating a "smartdescription" which contains a string and some
information about that string that is later added by the rules. With the
exception of one specific string, this seems to
Here is the exception:
Exception in thread "mythread" java.lang.NoClassDefFoundError:
com/daxtechnologies/optima/fault/eventprocessor/NewEvent
at ASMAccessorImpl_716163221204646531490.getValue(Unknown Source)
at org.mvel.ASTNode.getReducedValueAccelerated(ASTNode.java:174)
Hi, I have a problem in the web interface drools-brms when I try to
compare two variables, one of them with null value. If I try to compare
with this situation, the system throws a nullPointerException, and I
can't do anything. If I assign a value to this variable, the system
works perfect.
Nev
Hi All,
I'm having the following error while deserialing a workingmemory object:
java.lang.ClassNotFoundException:
com.oss.activation.rules.core.types.StepShadowProxy
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
Samir,
As Mark mentioned, we added several fixes to the 4.0.x branch (to be
released as 4.0.5) related to dynamic rules.
Can you please try it out? If it is still a problem, please open a JIRA
attaching your test case. I will look into it and fix it.
Thanks,
Edson
2008/3/3, sami
SB,
Came across this a while back. I *think* the quickest fix is to update
any Drools Jars (that exist *within* the Web / War insurance sample) and
make sure they are the same versions as that of the BRMS that you are using.
Paul
www.firstpartners.net/blog
SB.Raghavendra wrote:
Hi All,
I ha
17 matches
Mail list logo