[
https://issues.jboss.org/browse/DROOLS-1917?page=com.atlassian.jira.plugi...
]
Christopher Brecht commented on DROOLS-1917:
--------------------------------------------
This feature would be very nice to have. Is there an estimated time, when this will be
implemented? Or is this not possible?
Support variable expressions in interval-based for temporal operators
----------------------------------------------------------------------
Key: DROOLS-1917
URL:
https://issues.jboss.org/browse/DROOLS-1917
Project: Drools
Issue Type: Feature Request
Components: Guided Rule Editor
Affects Versions: 5.5.0.Final
Reporter: Adrian Paredes
Priority: Minor
It would be cool if it were possible to use expressions, and bound variables in
particular, in time intervals for temporal operators. Something like this:
rule "Sound the alarm with parametric delay"
when
$f : FireDetected( )
not( SprinklerActivated( this after[expr: $f.start, $f.end] $f ) )
then
// sound the alarm
end
A similar request was made for the interval-based timer in this issue:
https://issues.jboss.org/browse/JBRULES-3402
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)