[rules-users] [Fusion ] - Can we pass time value as a parameter in Temporal operator??

Mauricio Salatino salaboy at gmail.com
Tue Nov 3 06:02:38 EST 2009


I don't know, we can ask Edson Terelli about that.
If you think about it, its good that the rule condition is always constant.
Because it will describe a static situation in your context.
This, will cause that when you have problems with that rule you will know
exactly what the condition is.
I think that you ask this questions because you probably have a lot of
similar rules with different time periods right?


2009/11/3 Chetan Mahadev <mahadev.chetan at gmail.com>

> Maurico,
>
> Any plans in the future releases of Fusion??
>
> Regds
> Chetan
>
>
> On Tue, Nov 3, 2009 at 12:40 AM, Greg Barton <greg_barton at yahoo.com>wrote:
>
>> You could do this by generating the rule text, but it would no be dynamic.
>> (i.e. you'd have to regenerate the rule and reload it into the ruleset.)
>>
>> --- On Mon, 11/2/09, Mauricio Salatino <salaboy at gmail.com> wrote:
>>
>> > From: Mauricio Salatino <salaboy at gmail.com>
>> > Subject: Re: [rules-users] [Fusion ] - Can we pass time value as a
>> parameter in Temporal operator??
>> > To: "Rules Users List" <rules-users at lists.jboss.org>
>> > Date: Monday, November 2, 2009, 11:45 AM
>> > no, right now that is not possible.
>> >
>> > 2009/11/2 Chetan Mahadev <mahadev.chetan at gmail.com>
>> >
>> >
>> > Hi,
>> >
>> > Is it possible to pass the time value as a
>> > "parameter"  in temporal operator??
>> > In the below example, I would like to pass  $time as a
>> > variable,  any integer value/String value representing
>> > time. ( ex: $time = 10s)
>> >
>> >
>> >
>> >
>> >
>> > Ex;
>> > $eventA : EventA( this after[ $time
>> > s ] $eventB )
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> >
>> > rules-users mailing list
>> >
>> > rules-users at lists.jboss.org
>> >
>> > https://lists.jboss.org/mailman/listinfo/rules-users
>> >
>> >
>> >
>> >
>> >
>> > --
>> >  - http://salaboy.wordpress.com
>> >  - http://www.jbug.com.ar
>> >  - Salatino "Salaboy" Mauricio -
>> >
>> >
>> >
>> > -----Inline Attachment Follows-----
>> >
>> > _______________________________________________
>> > rules-users mailing list
>> > rules-users at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/rules-users
>> >
>>
>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091103/59b5016d/attachment.html 


More information about the rules-users mailing list