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 <[email protected]> wrote:

> From: Mauricio Salatino <[email protected]>
> Subject: Re: [rules-users] [Fusion ] - Can we pass time value as a parameter 
> in Temporal operator??
> To: "Rules Users List" <[email protected]>
> Date: Monday, November 2, 2009, 11:45 AM
> no, right now that is not possible.
> 
> 2009/11/2 Chetan Mahadev <[email protected]>
> 
> 
> 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
> 
> [email protected]
> 
> 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
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
> 


      

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to