Hy!
I'd like to invoke a rules for another rule.
my scenario:
When MainRule is firing and the conditions are good, I'd like to firing a new drools rule(viewSpecializedRule).
Is It possible?
thx.
rule MainRule
no-loop
activation-group "ag"
when
$c: PermissionCheck(action == "viewGeneral", granted == false)
MyEntity($myEntity : this)
//some conditions
then
//pass $myEntity and invoke viewSpecializedRule
end
rule viewSpecializedRule...