[rules-users] How to check to rules syntax before runtime?

Anstis, Michael (M.) manstis1 at ford.com
Fri Nov 23 09:37:23 EST 2007


The simplest solution would be to leverage RuleBuilder as you do at runtime.
 
Pass the user's rules through there before persisting to the database -
reporting errors to the user etc accordingly.


  _____  

From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Kevin Delcroix
Sent: 23 November 2007 14:19
To: rules-users at lists.jboss.org
Subject: [rules-users] How to check to rules syntax before runtime?



Hi everyone,

 

I would like to check if the rules syntax is correct before the rule
runtime. In fact, the end-user is the one which edits the rules and saves
them into the database. At a specific moment, the rules code is loaded and
executed. But for the moment, the rules the end-user typed are not checked
before the runtime of the rules. 

 

So I would like to check the rules syntax when the end-user validates the
rules pseudo-code and show him if there are errors in his rule code.

 

Don't hesitate to ask me if it's not clear enougth.

 

Thanks in advance for your help.

 

Kevin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071123/b05ea6bf/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4159 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20071123/b05ea6bf/attachment.bin 


More information about the rules-users mailing list