The following descision table is being used to initialise some question
object before fire all our rules.
<
http://drools.46999.n3.nabble.com/file/n4025538/table.gif>
Its creating the following rules butI only want a new question created for
each row with the ability to split the data across multiple columns. I
could probably do this using the data all in one column and use a comma
delimted list but was wondering of there was a way to split the data across
columns for a single rule?
rule "create static questions_18"
salience 65518
when
eval( true )
then
insert(new Question(99,"$2","$3",$4));
insert(new Question(nameA,"$2","$3",$4));
insert(new Question(SELECT,"$2","$3",$4));
insert(new Question(10,"$2","$3",$4));
end
regards and thx for any advice
Graeme
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-desciion-tbale-obecjt-intialisat...
Sent from the Drools: User forum mailing list archive at
Nabble.com.