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

2012-09-07 Thread Michael Anstis
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  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
>
> Rule1AdminYO *
> 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@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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

2012-09-06 Thread Manasi

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
   
Rule1AdminYO * 
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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

2012-09-02 Thread Michael Anstis
The use of "otherwise" is limited to "simple" columns defined for a single
field constraint that themselves use the equals or not equals operator.

Converting an XLS table to a guided web decision table, at this time,
results in "advanced" BRL columns being defined. These are not compatible
with the use of "otherwise".

The XLS conversion is in it's infancy and all feedback is welcome. We
acknowledge there is room for improvement.

"Simple" columns defining a single field constraint that uses equals or not
equals should be fine for boolean fields. However as a boolean only has two
possible values the need to use "otherwise" is questionable.

Cheers,

Mike

sent on the move

On 31 Aug 2012 07:52, "Manasi"  wrote:

> Hi,
>
> 1) I am using new feature of Guvnor 5.4 i.e converting from decision table
> in excel format to Guvnor web Decision Table format.
>
> After excel decision table is converted to Guvnor web Decision table format
> ,I am not able to use *'Otherwise'* feature for rows in guvnor decision
> table.
>
> If Guvnor decision table is created manually then only I am able to use
> *Otherwise* in rows.
>
> 2) Also ,if Guvnor web decision table is created manually then *Otherwise*
> in rows can be use only for String literals . Can it be use for Boolean
> variables?
>
> Please let me know what steps needs to be taken.
>
> Thanks,
> Manasi Damle
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Use-of-Otherwise-in-converted-decision-table-in-Guvnor-tp4019466.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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

2012-08-30 Thread Manasi
Hi,

1) I am using new feature of Guvnor 5.4 i.e converting from decision table
in excel format to Guvnor web Decision Table format.

After excel decision table is converted to Guvnor web Decision table format
,I am not able to use *'Otherwise'* feature for rows in guvnor decision
table.

If Guvnor decision table is created manually then only I am able to use
*Otherwise* in rows.

2) Also ,if Guvnor web decision table is created manually then *Otherwise*
in rows can be use only for String literals . Can it be use for Boolean
variables?

Please let me know what steps needs to be taken.

Thanks,
Manasi Damle



--
View this message in context: 
http://drools.46999.n3.nabble.com/Use-of-Otherwise-in-converted-decision-table-in-Guvnor-tp4019466.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users