Drools 5.0 - Locally... Global

Posted by Andy on Stack Overflow See other posts from Stack Overflow or by Andy
Published on 2010-04-22T16:30:16Z Indexed on 2010/04/22 16:33 UTC
Read the original article Hit count: 228

Filed under:

Hello,

I'd like to declare a global variable that is scoped to only my rules file. For example: variable $reUseMe is only declared once.

rule 1

$reUseMe : POJO(val = 1) //other conditions

rule 2

$reUseMe > val

© Stack Overflow or respective owner

Related posts about drools