Re: [rules-users] dynamic temporal parameters
Ming Fang wrote: Mark, Are there plans to support this in the future? Should I submit a Jira? There are plans, it's just a matter of time. As of yet, there are no community contributions in this cep area, so it's slow progress :( Mark --Ming On Nov 17, 2009, at 4:32 AM, Mark Proctor wrote: Ming Fang wrote: Is it possible to make temporal parameters dynamic by using bound variables? Example: EventA( this after[ $later ] $eventB) Currently, no. Mark --ming ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] dynamic temporal parameters
At this moment this is not possible because it prevents static analysis of the temporal rules. Feel free to open a jira feature request, but not sure when we will be able to add support to this. Edson 2009/11/17 Ming Fang > Mark, > > Are there plans to support this in the future? > Should I submit a Jira? > > --Ming > > On Nov 17, 2009, at 4:32 AM, Mark Proctor wrote: > > > Ming Fang wrote: > >> Is it possible to make temporal parameters dynamic by using bound > >> variables? > >> Example: > >>EventA( this after[ $later ] $eventB) > >> > > Currently, no. > > > > Mark > >> --ming > >> ___ > >> rules-users mailing list > >> rules-users@lists.jboss.org > >> https://lists.jboss.org/mailman/listinfo/rules-users > >> > >> > >> > > > > > > ___ > > rules-users mailing list > > rules-users@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] dynamic temporal parameters
Mark, Are there plans to support this in the future? Should I submit a Jira? --Ming On Nov 17, 2009, at 4:32 AM, Mark Proctor wrote: > Ming Fang wrote: >> Is it possible to make temporal parameters dynamic by using bound >> variables? >> Example: >>EventA( this after[ $later ] $eventB) >> > Currently, no. > > Mark >> --ming >> ___ >> rules-users mailing list >> rules-users@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> >> > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] dynamic temporal parameters
Try using DSL: [when]temporal EventB=EventB() [when]temporal EventA=EventA() [when]-after {period:[0-9]+} EventB=this after[{period}d] $eventB 2009/11/17 Mark Proctor > Ming Fang wrote: > > Is it possible to make temporal parameters dynamic by using bound > variables? > > Example: > > EventA( this after[ $later ] $eventB) > > > Currently, no. > > Mark > > --ming > > ___ > > rules-users mailing list > > rules-users@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] dynamic temporal parameters
Ming Fang wrote: > Is it possible to make temporal parameters dynamic by using bound variables? > Example: > EventA( this after[ $later ] $eventB) > Currently, no. Mark > --ming > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] dynamic temporal parameters
Is it possible to make temporal parameters dynamic by using bound variables? Example: EventA( this after[ $later ] $eventB) --ming ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users