This would appear a (near) perfect use-case for "Templates".
Have a read of the documentation and examples, it should become quite clear
thereafter :)
On 19 May 2011 15:46, matiasklein <mklein(a)porticosys.com> wrote:
Hi,
I have a DSLR that reads:
There is an event with a code of "93000"
This translates via DSL to:
[when]There is an event with a code {Code}=$event : Event(Code == {Code})
Unfortunately, I have to build many rules that are exactly the same as
this,
but with different qualifying codes (i.e. rule #1 qualifies with code 9300,
93001, 93002, etc., but rule #2 qualifies with 5001, 5002, 5003, etc.).
I would like users of the system to be able to maintain the list of
qualifying codes in a spreadsheet. However, I'm not sure how to use an
enumeration loaded via a spreadsheet.
Does anyone have a recommendation on how to achieve this?
Thanks so much!
Cheers,
Matias
--
View this message in context:
http://drools.46999.n3.nabble.com/DSL-Enumeration-Decision-Table-tp296166...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users