You can use it without time.. but each time that you have an EventA and not
an EventB the will be activated
2010/10/22 Tina Vießmann
> Yeah, normally I would solve it that way. But you're using a time (1d)
> which I unfortunately don't know off in my scenario.
>
> I'm afraid that there will be
Yeah, normally I would solve it that way. But you're using a time (1d)
which I unfortunately don't know off in my scenario.
I'm afraid that there will be no other solution than that I have to use
a time...
Thanks anyway :)
Sounds that you can use the Not Conditional Element for that right?
Sounds that you can use the Not Conditional Element for that right?
something like
$a: EventA()
not EventB(this after[1d] $a)
On Fri, Oct 22, 2010 at 5:49 PM, Tina Vießmann wrote:
> Hi,
>
> I'm working on a use case where I want to know if 20 events with a
> specific value are contained in at
Hi,
I'm working on a use case where I want to know if 20 events with a
specific value are contained in at maximum the last 150 events. So far I
know what have to do. ;-)
My problem is that as extension to my condition, the rule shall also
trigger if one ore more events are missing. But I don't
I downloaded the attachment on
http://article.gmane.org/gmane.comp.java.drools.user/22375 and pasted the
source into a new Drools project.
Worked a treat.
On 22 October 2010 10:52, ravibhatt wrote:
>
> thanks for the response Michael. I looked into your solution and this is
> not
> working for
When I said "at runtime" I meant during the normal course of your
application's operation - obviously KnowledgeBase's need to be set up in
some shape or form at runtime (initialisation)!! :-)
On 22 October 2010 19:22, Michael Anstis wrote:
> Sure, check out KnowledgeBase's removeRule(String, Str
Sure, check out KnowledgeBase's removeRule(String, String) method.
Modifications to you KnowledgeBase are going to be more expensive than with
Sessions, so ask yourself whether manipulating KnowledgeBase's at runtime is
something you really want to be doing when you (probably) will be able to
get i
Hello Michael,
I included the code for authentication but occurs a new exception. I think
that is by configuration of Guvnor.
I attached the exception and the log of guvnor. I hope you can help me.
Thanks and regards,
2010/10/21 Michael Anstis
> Hi,
>
> #2
>
> You could try setting the basicA
Michael Anstis wrote:
> If you use a StatelessKnowledgeSession you won't need to remove the old
> facts.
>
> If however you want to use a StatefulKnowledgeSession for other reasons
> the
> insert method returns a FactHandle that can be later used to retrieve the
> fact: ksession.retract(factHandle)
Hello,
I'd like to implement a custom "lucenematches" operator that would
enable writing conditions like:
$d : Doc(text lucenematches "(foo AND bar) OR roam~0.8")
As I've taken a look at the following post on athico
(http://blog.athico.com/2009/05/imperfect-evaluations.html), and seen
that the
thanks for the response Michael. I looked into your solution and this is not
working for me.
I get a discouraged Access and when i try to remove that from
windows->preferences eclipse is unable to find entire org.drools package.
if i keep settings when i get discouraged access, activationCancel
Thanks a lot Wolfgang for your prompt reply. I'm able to move forward now
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Error-Inserting-events-into-drools-fusion-stream-tp1746213p1751531.html
Sent from the Drools - User mailing list archive at Nabble.com.
On 22 October 2010 09:14, Ayush wrote:
>
> Thank you for your reply.
>
> I think I was heading into the wrong direction. Now when I've synchronized
> the function which is creating session, session is static and is only
> called
> once, and firing the rules it's working fine. I'm planning to use
Hi,
I'm investigating Drools Guvnor for use as both entitlements and
business rules where "entitlements" means I
am checking access to certain web pages (or partial page resources)
based on a pre-defined a resource (given a role for example) that I
would send in when executing the rule.
Is it pos
Thank you for your reply.
I think I was heading into the wrong direction. Now when I've synchronized
the function which is creating session, session is static and is only called
once, and firing the rules it's working fine. I'm planning to use JMS
wherein consumer will be syncronized. Is this the
Thank you for your reply.
I think I was heading into the wrong direction. Now when I've synchronized
the function which is creating session, session is static and is only called
once, and firing the rules it's working fine. I'm planning to use JMS
wherein consumer will be syncronized. Is this the
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Error-Inserting-events-into-drools-fusion-stream-tp1746213p1750917.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
r
This is more a Java question than a Drools specific problem.
You have several producers, running in threads, parallel or (more or less)
one
after the other. You have one consumer, the thread running the single
session.
Consuming consists of accepting the fact and inserting it into the session;
the
18 matches
Mail list logo