On 9 March 2011 13:07, groovenarula <gnaru...@la-z-boy.com> wrote:

>
>    XXX      YYY       "one,two,three"
>
> where XXX, YYY will be in 2 individual cells that will hold the values for
> one fact, and the "one,two,three" will be in a third cell will from which I
> need to create separate instances for each value of fact #2.
>
> I'm trying to see if there's a way to use the current spreadsheet without
> changing it drastically. That will make the solution a lot more acceptable.
>
>
Looks like reading the cells and generating Java code to insert the facts
is the cheapest solution. I see no point in constructing rules just to get
some facts into WM.



> W - Can you please elaborate on your last statement :
>
> It's doable from a spreadsheet, using the "forall" substitution.
>
> If I'm not mistake that's what I would use if it's a decision table - Would
> I be able to use 'forall' even if I'm using a template to insert the facts
> ?
>

Yes, I was referring to decision tables. No, that "forall" is done by the DT
parser/expander.

-W
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to