Is it possible to include a log statement in Drools rule or function -
let's have function check if object invalid in drools. phone call function rule when set of conditions satisfied. if function returns true, retract message drools.
can add together log statements in drools functions or rules?
e.g.
rule "validate abc" dialect "mvel" no-loop salience 3 when eval(validateabc(...)) /* log here */ retract... end function boolean validateabc(...) { check conditions , have log statements if conditions satisfied }
drools
No comments:
Post a Comment