Yeah, you'll have to reinsert events into the stream, or another stream.
Probably the latter would be better.
rule "DetectedFooAverageOver1"
when
$f : Double(doubleValue > 1.0) from accumulate( Event($v : value, name ==
"Foo") over window:time ( 10s ) from entry-point EntryPoint, average($
The backup service is protected by role-based-authorization in Drools 5
Guvnor (it was unprotected in Drools 4). Guvnor is using session cookies
to track user authentication. In theory we could use wget to login
first, once we get the session cookies we can use this session to access
the backup
Maxi,
Which version of Drools are you using? I believe this was an issue with
transaction managers that do not support nested transactions and that
has already been fixed on trunk. Could you try out the latest snapshot
to check whether the problem still exists?
http://hudson.jboss.org/hudson/job
If you have access to the process instance that contains the variable,
you can do
((RuleFlowProcessInstance) processInstance).setVariable(name, value);
Changing the value of an object that has been set as a variable in a
process instance should also be taken into account. Do you have an
exampl
I've declared an @expires of 30s for both events. However, my problem is
that within a 30 second window it doesn't seem possible to ascertain whether
both of the events occur simultaneously. I could change the @expires to 10
seconds for the above rule, which would make it work. However, I would lik
Hi, you can add an extra restriction in C. That checks that the rules
property is empty in the first rule, the second, the third, the fourth
and the fifth will check the opposite. But the fifth rule will empty
again the rules property making the first rule fire again. I think
that you don't
Hey guys.
I currently set up an excel table to capture some rules. I face one
problem and I am not sure if and how that is possible.
I want to include this in the rule:
$o : Order (...)
Customer (status=x) from customerService.getCustomer(
$o.getCustomerId() )
The status=x shall be fille
Hi All,
I have a question about avoiding infinite loop, not using 'no-loop' or
'lock-active' since I want to re-activate rules. Suppose I have one complex
class C and a chain of rules in which Rule2 checks the result of Rule1, Rule
3 checks the result of rule 2, etc... In the last rule ("Rule5")