[jboss-jira] [JBoss JIRA] (JBRULES-3524) How can we not hard code sliding window time and length windows. so that it can read from fact.

Venkat A (JIRA) jira-events at lists.jboss.org
Thu May 31 02:23:17 EDT 2012


Venkat A created JBRULES-3524:
---------------------------------

             Summary: How can we not hard code sliding window time and length windows. so that it can read from fact.
                 Key: JBRULES-3524
                 URL: https://issues.jboss.org/browse/JBRULES-3524
             Project: Drools
          Issue Type: Support Patch
      Security Level: Public (Everyone can see)
            Reporter: Venkat A
            Assignee: Mark Proctor


HI All,

I have a requirement where I must read values from facts in sliding window and temporal operators.

Generally we are hard coding values like below
over window:time(10s)
and this after [0s,4m] $event

Can we write like this 
window:time($fact.time)
and this after [$fact.startWait,$fact.endWait] $event

Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list