As you can see here I’m working with Esteban under the orders of Commander Salaboy on improving the user experience of writing rules.
Following those ideas we implemented some tools for configuring a WorkingSet, a mean for filter which Facts you are able to use inside Guvnor’s Guided Editor. But that’s not all what we’ve been doing, you can also define for each field a set of constraints that will restrict what users will be allowing to write inside a rule.
Since a video worth like a thousand posts, I’ve created one showing the new features using the Guvnor demo model. in the video you’ll see how to create a new working set. Once the Working Set is created, it shows how to add facts and define constraints for those facts, as you’ll I defined a Range constraint for a credit Applicant’s age field. And next to demonstrate how to use a WorkingSet to verify a rule, I’ve created a new rule adding a restriction that would make the Range Constraint to fire.
Guvnor FactConstraints Example from Pablo Nussembaum on Vimeo.
[...] Sets. A screencast created by Baunax showing how field’s constraints are evaluated on demand can be found here. "Verify" button and the report generated by [...]