I mean a rule like this,
@Rule
@Service(value="broker.authorization")
public class BrokerAuthorization {
@Condition
public boolean isInvalidAuthorization(SampleProcessDTO spDTO)
{
return true;
}
@Consequence
public void consequence(SampleProcessDTO spDTO)
{
}
}
The package org.drools.sprin
Hi All,
Any input will be really helpful to enhance the Drools Flow eclipse editor.
Hopefully we will be able to share the artifacts to the community if we could
do
so.
Regards, Prafull
From: Prafull Kumar
To: rules-users@lists.jboss.org
Sent: Sat, November
You're missing the agenda.
http://en.wikipedia.org/wiki/Rete_algorithm#Conflict_resolution
In the rete algorithm the agenda is a list of activated rules who's actions are
eligible to fire. The "first" one on the list is selected, it's action is
fired, and the agenda might change as a result.
Thanks for the replies!
I observed that the action of a rule not get executed straight after that
rule activated.
Say my rules are following:
rule "Hello World"
when
then
System.out.println( "hello world" );
end
rule "GoodBye"
when
Message( status == Message.GOODBYE,
Any indication of when the Drools Flow documentation may be updated to
reflect what was actually released as opposed to the old style
icons/task/event names?
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-flow-documentation-update-tp1915184p1915184.ht
Are you talking about KnowledgeBaseMonitoring.startINternalMBeans - if so, how
do I get access to KnowledgeBaseMonitoring from the knowledgebase/session
I create a session usingsession =
commonKB.newStatelessKnowledgeSession();
However, doesn't seem like I have access to t
There is an operation on the main bean that starts the session
specific mbeans. They are not started automatically because you just
need them while actively monitoring. You can keep them off while not
(another operation).
Edson
2010/11/16 Agarwal, Beena :
> I’ve enabled JMX using the foll
I've enabled JMX using the following configuration
KnowledgeBaseConfiguration kbaseConf =
KnowledgeBaseFactory.newKnowledgeBaseConfiguration();
kbaseConf.setOption(MBeansOption.ENABLED);
commonKB =
KnowledgeBaseFactory.newKnowledgeBase("kb-"+gameCode, kbaseConf);
I reopened that ticket. Please add any information (like what you
have on the e-mail bellow) on how to reproduce the problem to the
ticket. I will fix it for 5.2.
Edson
2010/11/16 ulibube :
>
> A little while back someone posted a message about an OutOfMemoryError
> problem when marshalling
Nope, at the moment the largest unit supported is day.
There are a couple reasons for that, including that such use cases
require access to historic data that is usually kept outside the rules
engine (in a database for instance) and loaded on demand, but the main
reason was I didn't want to
A little while back someone posted a message about an OutOfMemoryError
problem when marshalling a knowledgebase containing rules with NOT
conditions:
http://drools-java-rules-engine.46999.n3.nabble.com/OutOfMemoryError-on-marshalling-with-non-existence-check-in-flow-XOR-split-td443126.html
Someo
You may have to define your own version of temporal operators or at least
to replace the parser for the temporal operators' parameters, i.e., what is
written between the brackets.
I guess that in your domain, a month is not an absolute interval but depends
on the starting point. This makes it more
Fusion seems to only support days, hours, minutes, seconds and
milliseconds for the units of time used with temporal operators. For
example consider the following rule (which works correctly):
rule "AdmittedInLast7Days"
dialect "java"
when
$now : RuleTime()
$account : PatientAcc
Hi
I just want to know whether annotation and spring ioc is possible with rule
flow constraint editor. For example, in any constraint editor, drools have
two supporting types of coding, mvel & java.
I am wondering like is it possible to choose java and start using java
annotation code in textu
Hi
I tried to do a simple test case using spring drools. Following is the
test class, it inserts customer object into the workflow.rf and fire the
rules 1. nameShouldBeEntered & 2. emailShouldBeValid
I have also attached drl, rf and applicationContext.xml files in this mail.
nameShouldBeEnter
If you use bean property conventions for naming your methods you can use a
regular condition element. for instance, you could rename emptyMessageFinder()
to isMessageFound() or getMessageFound() and your condition would look like
this:
when
m : Message(messageFound == true)
then
...
end
And
On 16/11/2010 14:45, ahmed fayed wrote:
Hi,
Are the new Spring Module support creating POJO Rules? I could't find
the rule, condition, and consequence annotations classes in the new
JARs in 5.1, any idea if it's still supported and in which JAR?
what's a pojo rule?
The spring stuff allows for
Thanks a lot Jervis. It solved the problem.
Regards,
Jegan.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/401-Http-Response-while-accessing-a-package-tp1908870p1911439.html
Sent from the Drools - User mailing list archive at Nabble.com.
__
2010/11/16 Nirmal Fernando :
> Hi,
>
> I have two questions.
>
> 1) Is there any other way/method in Drools to test the truth value of a
> condition other than "eval"?
The margin of this email is too small to put them all here. See the
Expert manual, subsection 4.8.3, Left Hand Side (when) Conditi
Hi,
I have two questions.
1) Is there any other way/method in Drools to test the truth value of a
condition other than "eval"?
In almost all rules of my application needs to test conditions, and it takes
ages to run using "eval".
2) Say I have a java method which returns a boolean, and I have us
How to create processes with intermediate events like compensation, message
etc in drools flow.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Intermediate-Events-tp1910361p1910361.html
Sent from the Drools - User mailing list archive at Nabble.com.
__
No ideas? Seems to me like a pretty common question...
-Ursprüngliche Nachricht-
Von: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] Im Auftrag von Liße, Jan
Gesendet: Freitag, 12. November 2010 11:45
An: 'rules-users@lists.jboss.org'
Betreff: [rules-user
That exactly what I tried, but I allways got the error about ,There is no
ID/IDREF binding for IDREF '_2_response'. or some other parameter. Is there
some required naming convention?
What I did is set In mapping like this employee = employee, length=length
response=response and the same for out ma
23 matches
Mail list logo