[rules-users] Excel Syntax in Decision Tables

Wolfgang Laun wolfgang.laun at gmail.com
Mon May 26 07:47:24 EDT 2014


As the documentation tries to explain, there are four rows in the
heading of acondition column.

1 The first contains CONDITION (or condition).
2 The second defines the class for a Pattern.
3 The third one contains a constraint.
4 The fourth is for a comment.

So, use
   fatca: FATCA(); Classification()
for the second one and
    type == $param
for the fourth one.

-W

On 26/05/2014, crosbis2 <drpatrick.cosmo at gmail.com> wrote:
> Hi,
>
> I'm sorry to disturb the forum with this one.
>
> <http://drools.46999.n3.nabble.com/file/n4029686/FATCA1.png>
>
> I want to replicate this code in a decision table. There is a parse
> exception when i try to convert a table due to  the code fatca : FATCA()
> i.e. There is Fatca [Fatca] even though the rule validates ok.
>
> I know it is a pattern with no condition attached. so i tried putting it
> with the actual condition and also making it standalone with condition
> null.
> neither will convert to a decision table even though the syntax looks
> correct from the view source?
>
>
> <http://drools.46999.n3.nabble.com/file/n4029686/FATCA2.png>
>
> Anyone any ideas on what i need to do for this problem?
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Excel-Syntax-in-Decision-Tables-tp4029520p4029686.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
>


More information about the rules-users mailing list