[rules-users] Use of Otherwise in converted decision table in Guvnor.

Michael Anstis michael.anstis at gmail.com
Fri Sep 7 05:55:33 EDT 2012


The value in the boolean cells needs to be interpretable as "true".

See RuleSheetParserUtil.isStringMeaningTrue(String property) for details:-

http://grepcode.com/file/repo1.maven.org/maven2/org.drools/drools-decisiontables/5.4.0.Final/org/drools/decisiontable/parser/RuleSheetParserUtil.java?av=f

With kind regards,

Mike

On 7 September 2012 06:43, Manasi <manasi.a.damle at capgemini.com> wrote:

>
> Hi,
>
> Thanks for your reply.
>
> for my earlier question no 2) ,
> In my decision table , I have condition for particular row in decision
> table
> as following:
>
>           * User           Department     isAllowed          Fields
>
> Rule1    Admin            YO                     *
> Field1,Field2 *
>
>
> In above table *** represents value as true or false, as *isAllowed is
> boolean.*
> After converting above excel decision table in Guvnor format decision
> table,
> * represents nothing.
>
> So can I write any particular DRL or BRL fragments in particular row's cell
> in decision table (In this case where ever * is mentioned).
>
> Thanks,
> Manasi Damle
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Use-of-Otherwise-in-converted-decision-table-in-Guvnor-tp4019466p4019631.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120907/f5b4087e/attachment.html 


More information about the rules-users mailing list