Try multiple actions. The first has insert(new Question($param, the next two have "$param", and the last has $param));
Not tested. (Linebreaks should not cause a problem, but there have been vaguely similar problems.) -W On 14/08/2013, captainrhino <graeme.kitc...@axa-travel-insurance.com> wrote: > 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-intialisation-tp4025538.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users