[rules-users] entry-point + accumulate in same rule using BRL (Guided Rule Editor)
Ravi Gupta
rkgupta75 at gmail.com
Mon May 27 14:12:43 EDT 2013
I can't seem to re-create the below in BRL (entry-point + accumulate)
I want to combine an entry-point and an accumulate function such as (the
below is DRL, which works)
*rule "GSS-Sev1-Monitor"*
* no-loop true*
* dialect "mvel"*
* when*
* $ticketStatistics : TicketStatistics( $ID : ID == null )*
* accumulate($supportTicket:SupportTicket( ticketStatisticsID ==
$ID , severity == "Sev-1" ) over window:time (5m) from entry-point
"gss-support-stream", $num : count( $supportTicket ))*
* then*
* $ticketStatistics.currentTicketCount = $num;*
* update( $ticketStatistics );*
* end*
I can't seem to re-create this in Guvnor (BRL)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130527/9f85367f/attachment.html
More information about the rules-users
mailing list