You can find a new "Verify" button when editing rules. This button makes use of drools-verifier, which may be used to perform what you are trying to do. We are working hard these days to add field and fact restrictions to guvnor.<div>
You can check these links for more help:</div><div><a href="http://ilesteban.wordpress.com/2010/03/25/guvnors-working-sets/">ilesteban.wordpress.com/2010/03/25/guvnors-working-sets/</a></div><div><a href="http://ilesteban.wordpress.com/2010/03/25/guvnors-working-sets/"></a><a href="http://ilesteban.wordpress.com/2010/04/05/guvnors-field-constraints/">ilesteban.wordpress.com/2010/04/05/guvnors-field-constraints/</a></div>
<div><br></div><div><a href="http://ilesteban.wordpress.com/2010/04/05/guvnors-field-constraints/"></a>Best,<br><br><div class="gmail_quote">On Fri, Apr 16, 2010 at 9:08 PM, AndreaLee <span dir="ltr"><<a href="mailto:alee369@gmail.com">alee369@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
Premkumar Stephen wrote:<br>
><br>
> Currently, the validate functionality ensures that rules have proper<br>
> syntax.<br>
> it is possible to extend this functionality so that business use cases<br>
> might<br>
> also be validated? Is there an API/examples to do that.<br>
><br>
<br>
I am also interested in having business logic validation capabilities in<br>
Guvnor. Ideally our users would like to be prevented from creating new rules<br>
that conflict with existing rules or changing existing rules in a way that<br>
produces conflict with other existing rules.<br>
<br>
Do you know of any way of notifying Guvnor users that a rule they want to<br>
create or have created is in conflict with existing ones?<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/Extending-the-validation-of-rules-functionality-in-Guvnor-tp61422p725321.html" target="_blank">http://n3.nabble.com/Extending-the-validation-of-rules-functionality-in-Guvnor-tp61422p725321.html</a><br>
Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>
</div>