Validation Service may not be the most efficient application to write and debug new rules. Here is a relatively simple groovy project that attempts to help make this task easier.
The aim of this utility is to load a Validation rules file and an event, then execute the rules on the event. Unfortunately, this is not a command line utility, it currently can only be executed within an IDE.
What you need
- Java IDE (Eclipse is used here)
- Groovy Development Kit IDE plugin
Once the Groovy IDE plugin has been installed, import the following project.
The rules and event files are located in /resources, the names are hard-coded in RuleValidation.Main
Right-click on RuleValidation → Run as... →