Anyone knows how to use variables (from fields) setted on LHS, to
modify a field on the RHS using the GUI editor
from BRMS?
What I need is to write this rule on BRMS.
rule "Set approvedMount for a women"
no-loop true
when
$p: Person($sex: sex == "F", $income: incomeMount)
then
$p.setApprovedMount($income * 1.2);
update($p);
end
I know I can use formulas, but I only know how to set those on LHS, I
dont know how to put a formula on RHS (setter of the field to modify).
Thanks.
Felipe Piccolini M.
felipe.piccolini(a)bluesoft.cl
Show replies by date