Insert a new fact that causes Rule 2 to fire. That way you can decouple your
logic and gain more flexibility to add more rules based on this new fact.
2009/12/4 Deepak Jambhekar <deepak.jambhekar(a)tcs.com>
Hi...
In one of my requirments I need to fire a rule from another rule...
i.e.
when
rule "Rule 1"
when
condition()
then
someaction()
then it should fire another rule Rule2
end
rule "Rule 2"
when
condition()
then
someaction()
end
Can we achieve this in Guvnor??
please help....
Thanks
Deepak Prabhakar Jambhekar
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users