Drools 5.0 - Locally... Global
- by Andy
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