Following from my previous blog about the Wizard Framework added to Guvnor I have now had time to complete a Wizard to aid with the creation of new decision tables in Guvnor. This will be available in Drools 5.3, 5.3.CR1 is out end of this week.
The Wizard takes the user through both the condition definition and action definition process, with full immediate visual validation and feedback of errors in the definition that need correcting before the table can be generated:-
- Adding Facts
- Adding constraints to these Facts
- Setting fields on bound Facts
- Inserting new Facts
What’s also exciting is the ability to now generate an expanded form decision table; where rows are created for every combination of discrete condition combinations. An explanation of expanded form can be found here.
It is the first step we are making towards providing expansion and contraction of decision tables in Guvnor.
You can watch a video here.