-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
None
-
Undefined
-
NEW
-
NEW
I want to create a table that discriminate adult from minor.
I followed the wizard and the table works as expected tested with SceSim and client REST.
The rules correspond to the way I'd do anyway using DRL:
package com.myspace.test20210331; //from row number: 1 rule "Row 1 MyRules" dialect "mvel" when p : Person( age < 18 ) then modify( p ) { setMinor( true ) } end //from row number: 2 rule "Row 2 MyRules" dialect "mvel" when p : Person( age >= 18 ) then modify( p ) { setMinor( false ) } end