DSL processor work with TEXT. Try something like this:
[condition][]- person is {years} years old=Age (value in ({years}))
Pavel
On Wed, May 12, 2010 at 2:16 PM, Joerg Herbst
<herbsthannover(a)googlemail.com> wrote:
Hi folks,
I'm trying to create a DSL where the user should be able to add a bunch
of values, as when using the normal rule syntax.
The DSL should look something this:
when
person is not "18","21", "100" years old
then
normal birthday
end
My problem is I don't know the number of arguments. When I write a
normal rule I can say somethink like:
Age (value in ("18","21","100"))
But how can I achieve this in a DSL syntax?
Thanks
Joerg
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users