thats not quite valid DRL.
But you can do that sort of thing,
you have a cell that spans all the field columns, and in that cell put
p: Person
age status ....
etc.
On 2/28/07, Vargas, Michael E <mvargas(a)adt.com> wrote:
Hi,
I'm currently trying to convert this Rules into a Decision
Table:
*rule* "JobLevel"
*when*
p : Person( status == Person.NOTRUN, age == "27", person)
*then*
System.out.println(p.getJobLevel());
p.setJobLevel("You're a rookie");
p.setStatus(Person.RUN);
*modify*(p);
System.out.println(p.getJobLevel());
*end*
The thing I can't seem to figure out is how to bind the p variable to an
object person. Any help would be much appreciated!!
Regards,
Michael Vargas
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users