A rule's salience can be defined with an arbitrary expression which
may include variables bound to mathced fact fields.
It should be possible to compute the effective salience from a base
salience (according to the rule) plus an offset value derived from
field values.
-W
On 18 July 2011 21:44,
Can you try without Guvnor, i.e. native DRL and KnowledgeBases?
This will help us identify whether this is a Guvnor issue of Drools engine.
Thanks.
2011/7/19 sreeram.vadlam...@wellsfargo.com
Hi Mike,
** **
Thank You for your responses.
** **
My apologies.
** **
I did
Hi,
We implement an optimistic lock at the asset level.
Multiple users can open the same asset (subsequent users should receive a
warning) however if one attempts to save after another they should receive
an error that their view was out of date.
We do not implement row-level locking on
Okay, thank you for your answers. I did not realise it's a known issue, sorry
about that.
I'll see what I can do.
thanx and cheers.
--
View this message in context:
http://drools.46999.n3.nabble.com/PDFs-of-Drools-5-2-final-pictures-too-big-tp3179659p3181829.html
Sent from the Drools: User
Marianna,
That's alright, we can't expect everybody to know every issue we have.
What's nicer is if community members want to help resolve some ;)
With kind regards,
Mike
On 19 July 2011 09:46, itchupe itch...@gmail.com wrote:
Okay, thank you for your answers. I did not realise it's a known
hi again
could you maybe please point me to the JIRA that I could do (b)?
(b) Attach a list of all affected images (what user-guide, what section,
what image etc) to a JIRA for us to eventually look at.
(not quite ready setup for (a) yet)
kind regards
--
View this message in context:
Sure,
If the documents containing the issues relate to Expert, Fusion etc then:
https://issues.jboss.org/browse/JBRULES
Otherwise if the document relates to Guvnor:
https://issues.jboss.org/browse/GUVNOR
On 19 July 2011 10:07, itchupe itch...@gmail.com wrote:
hi again
could you maybe please
This is a bug in the core, and a regression from 5.1.1.
Any field called prop or PROP with getters and setters written as
getPROP and setPROP is not recognized in certain constraint expressions
written as PROP.
-W
2011/7/19 Michael Anstis michael.ans...@gmail.com
Can you try without Guvnor,
Let's not waste time fixing this image by image.
It should be done in the docbook style, here's the issue:
https://issues.jboss.org/browse/JDOCBOOKSTYLE-19
Documentation: large images should scale to print for PDF output
I 'll process any patch to fix that :)
Op 19-07-11 11:07, itchupe
On 19 July 2011 07:07, Marc Heinz marc.he...@no-log.org wrote:
Hello everyone,
I need some enlightening about Drools dynamic facts (a term used in the
documentation, for facts that could be updated from outside the rule
engine).
The current documentation always list the insert method of a
+1
On 19 July 2011 10:35, Geoffrey De Smet ge0ffrey.s...@gmail.com wrote:
Let's not waste time fixing this image by image.
It should be done in the docbook style, here's the issue:
https://issues.jboss.org/browse/JDOCBOOKSTYLE-19
Documentation: large images should scale to print for
Thank you for your response, Wolfgang.
The current documentation always list the insert method of a
StatefulKnowledgeSession being able to take an additional boolean
argument, stating that the corresponding fact supports the
PropertyChangeSupport related methods.
However, it seems that
On 19 July 2011 13:42, Marc Heinz marc.he...@no-log.org wrote:
rule Single rule check age
when
p : Person( age 18 )
then
System.out.println(Single rule fired);
end
rule Rule 1 of n
when
p : Person( name.equals(Adam) )
then
System.out.println(Rule 1
hey,
with version do you test the camel integration? cause it only works with
camel 2.6 at my project...
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-Integration-for-which-Camel-Version-tp3182385p3182385.html
Sent from the Drools: User forum mailing list archive at
On 19/07/2011 13:45, Andre wrote:
hey,
with version do you test the camel integration? cause it only works with
camel 2.6 at my project...
2.4 and above
https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/pom.xml
camel.version2.4.0/camel.version
AFAIK, there never was any logic for restricting updates of the Rete
structures according to individual field-oriented change notifications.
As far I remember, JRules does.
And it could be great to add/restore this possibility in drools (is
there a JIRA somewhere where we can vote?).
For
Wolfgang,
How does the offset thing work exactly? Do we set one salience value
for a rule and another offset value based on the fact fields? Or do we
have one expression for salience, in the form of X+Y, where X is a
static numeric value and Y is a formula based on the facts?
It seems to me that
Before I start do explain my problem I should say that I have already
searched through the older posts and found similiar problems but not exactly
the following one:
My Application has multiple RuleFiles (*.drl each with its own package)
which can be dynamically added/removed. Based on a context
thx
with version 2.7.0 this happens..
rror occurred while running main from: org.apache.camel.spring.Main
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
I'm trying to move from Drools 5.1.1 to 5.2 and I'm reworking my .rf files
into .bpmn files, but I've run into an issue - I use the wizard to create a
new file like MainFlow.bpmn. After I create it, I open it using the BPMN2
process editor and all is well. However, if I add anything to the
magendo wrote:
1. Using a contextObject which has foo and is checked in the first rule of
each rulepackage. This first rule and the remaining rules in the
rulepackage have the same agenda group. So if the first rule doesnt fit,
the other rules wont be executed, either (does this really
In your scenario, I believe the best (better) approach would be to use a
control fact (first in your RHS). Your context can become a Fact itself:-
rule one
when
Foo( value == bar )
...other patterns
then
...do your thang
end
rule two
when
Foo( value == bar )
...other patterns
I found the log and the problem. Here's a snippet of the log:
!ENTRY org.drools.eclipse 4 120 2011-07-19 11:04:57.102
!MESSAGE Internal error in Drools Plugin:
!STACK 0
java.lang.NullPointerException
at org.jbpm.bpmn2.xml.di.BPMNPlaneHandler.end(BPMNPlaneHandler.java:75)
at
In my opinion, for 300 drl files, the better is to use a specific KB for
each DRL (or some KAgent).
This way you don't have to pollute your rules with control facts (and
you can eventually re-use some part of DRL files into multiple context
KB), and the RETE is tightened to the strict minimum
Hi Mike,
We tried this out by testing with 2 users logging into Guvnor and changing
rules.
When the 2 users opened the same rule one after the other, the second user did
not get any warning . the first user was able to save his changes successfully,
but the second user got an error indicting
Check your version of spring. Camel 2.7 requires Spring 3.x
-Original Message-
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Andre
Sent: Tuesday, July 19, 2011 8:07 AM
To: rules-users@lists.jboss.org
Subject: Re: [rules-users] Drools
Ram,
All asset types when opened by a subsequent user *should* provide a warning.
Can you please raise a JIRA for this?
Thanks,
Mike
2011/7/19 sreeram.vadlam...@wellsfargo.com
Hi Mike,
** **
We tried this out by testing with 2 users logging into Guvnor and changing
rules.
**
Apologies if this has been addressed elsewhere: I couldn't find anything
quite like my issue.
My (greatly simplified and completely made-up) example:
Let's say I have this java class:
public class BaseballPitcher
{
public String getName();
public boolean isRightHanded();
public
This rule used to compile in the IDE under Drools 5.1.1:
when
$order: OrderFact(numberOfCreditCardDeclines
FraudCCDeclines.find().getCreditCardDeclinesThreshold())
then
//do something
but it's breaking since I moved to 5.2, although it runs fine when I deploy
it
By IDE I assume you mean Eclipse? Can you try as vanilla DRL?
There were alot of changes for 5.2 for free form expressions and perhaps
you've found a regression.
On 19 July 2011 21:52, Jamie js...@llbean.com wrote:
This rule used to compile in the IDE under Drools 5.1.1:
when
I do mean Eclipse. What do you mean by 'vanilla DRL'? It does seem to
compile and run correctly when I deploy it.
--
View this message in context:
http://drools.46999.n3.nabble.com/Rule-not-compiling-in-IDE-after-migration-to-5-2-tp3183689p3183863.html
Sent from the Drools: User forum mailing
Toni, Jervis, Michael, Geoffrey,
Starting from next month I'd like a Guvnor sheriff rota. I want you
each to take it in turns, a month at a time, to wear the Sheriff badge.
That person is then responsible for keeping the build blue, managing
jira (keeping it up to date) and chasing people to
follow me at google+ on mdproc...@gmail.com. Mention you are a expert
system person, so I add you to the right circle.
Mark
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
33 matches
Mail list logo