Forgot to mention, I use 4.0.1
--
View this message in context:
http://www.nabble.com/Difference-between-constraint-within-a-pattern-and-eval-tf4688141.html#a13399931
Sent from the drools - user mailing list archive at Nabble.com.
___
rules-users mail
Hi There,
I am facing a weird issue, following rule doesn't run
rule "test"
dialect "mvel"
when
Experience( primary == "SY") )
then
log.debug("SY");
end
but following works. :confused:
rule "test1"
dialect "mvel"
when
Hello Edson,
I was not aware that
$binding : ( A(...) or A(...) ) // this is valid
works. But now I know and I like this much better than
the workaround I was using. I think this is more
intuitive.
The way I stumbled into this is I had the following
$binding : A(...) or A(...)
(note the mis
You can't bind a variable to an eval.
[]s
Edson
2007/10/24, Markus Helbig <[EMAIL PROTECTED]>:
>
> Hi
>
> rule
> when
> item : eval(Factory.getList().contains(id))
> then
> end
>
> resolves into
>
> [10/24/07 17:50:55:636 CEST] 0030 SystemErr R
> org.drools.rule.Invali
How do I initialize a global fact in the drl file? I want use the JSR94 API
and avoid using the Drools API inside the Java code. I would like to access
the same variable every execution of a stateful session without having to
reinstantiate the variable after each execution?
Basically I want to
Hi
rule
when
item : eval(Factory.getList().contains(id))
then
end
resolves into
[10/24/07 17:50:55:636 CEST] 0030 SystemErr R
org.drools.rule.InvalidRulePackage: Rule Compilation error : [Rule
name=Rule1, agendaGroup=MAIN, salience=30, no-loop=false]
package/Rule_Rule1_0.java (13
Hello all
I have two packages in my rulebase .I want to use one function from one package
in another package.
How can I do this? Please brief me.
Thanks.
With Regards
Prateek
The information contained in this electronic message and any attachments to
this message are intended for the ex
Based upon the documentation I'd say "no" and "no".
You can use myPackage.getRules() to return Rule[] which you can iterate and
call myPackage.removeRule(aRule) but I did not see anything "out of the
box".
Also, calls to myPackage.removeRuleFlow(ruleFlowId) removes RuleFlows (I
believe the API
Edson Tirelli wrote:
The first 2 pairs of [] have special semantics for the engine.
After them, you can place your regexps.
This worked, thanks!
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-
Hello all
Many congratulations on the release of Drools 4.0.3
I want to remove all the rules belonging to a specific AgendaGroup from the
rulebase containing only one package.
I want to use only the name of the AgendaGroup ,not the names of the rules.
Is there any method in the API that can sol
MAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
___
rules-dev mailing list
[EMAIL PROTECTED]
https://lists.jboss.org/mailman/listinfo/rules-dev
-- next part ---
rt for Eclipse 3.3
* [JBRULES-1294 <http://jira.jboss.com/jira/browse/JBRULES-1294>]
- Upgrade to MVEL 1.2.10
--
Fernando Meyer http://fmeyer.org
JBoss Rules Core Developer
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
-
---
___
rules-dev mailing list
[EMAIL P
Hello,
Thanks to all for the 4.0.3 release, but I just couldn't get the corresponding
tagged svn version (4.0.3.15993.GA) to build:
The "standard" maven compilation command 'mvn -Declipse -Ddocumentation clean
install -DlocalEclipseDrop=~/Devel/jboss/local-eclipse-drop-mirror' failed with
for
Hello all,
I am using Drools 4.0.3 in my application in which I am generating the rule
file from the front end.
I made my application in such a way that I can change my rule file during the
runtime (i.e. server is running).
Each time when I submit my test form (on which validation is happening
Could you not change your rule?
rule "An item is in the office"
salience 0
when
$item : Item( )
$container : Container(location.name = "office", items
contains $item)
then
System.out.println("item in office");
end
[I think] this wo
15 matches
Mail list logo