[rules-users] Can we fire a rule from another rule...?

Ross H rossh00 at gmail.com
Fri Dec 4 03:21:20 EST 2009


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091204/4315e948/attachment.html 


More information about the rules-users mailing list