[jboss-jira] [JBoss JIRA] (DROOLS-1917) Support variable expressions in interval-based for temporal operators

Michael Anstis (JIRA) issues at jboss.org
Fri Oct 27 04:41:09 EDT 2017


     [ https://issues.jboss.org/browse/DROOLS-1917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Anstis moved GUVNOR-1980 to DROOLS-1917:
------------------------------------------------

              Project: Drools  (was: Guvnor)
                  Key: DROOLS-1917  (was: GUVNOR-1980)
             Workflow: GIT Pull Request workflow   (was: classic default workflow)
          Component/s: Guided Rule Editor
                           (was: Guided Rule Editor)
    Affects Version/s: 5.5.0.Final
                           (was: drools-5.5.0.Final)


> 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)


More information about the jboss-jira mailing list