[rules-users] Writing really short rules

Geoffrey De Smet ge0ffrey.spam at gmail.com
Thu Apr 12 03:20:40 EDT 2012


drools-decisiontables can also work with csv files IIRC

Op 11-04-12 20:57, Adam Warski schreef:
> Hello,
>
> I have some near-tabular data which I would like to write down as rules.
> There about 100 rows. Using a custom DSL, the shortest form I now have for
> each entry is:
>
> rule "..."
> when some condition with data from row
> then always the same action
> end
>
> so 4 lines.
>
> Is it possible to somehow write it in one line? If I simply try to do that,
> the parser complains (as I have a .dslr file).
>
> Alternatively, is it possible to write down a decision table not in excel,
> but using plain text? As this would work for me as well.
>
> Thanks,
> Adam
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/Writing-really-short-rules-tp3903485p3903485.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>

-- 
With kind regards,
Geoffrey De Smet





More information about the rules-users mailing list