[rules-users] Decision Table column testing for exists
Wolfgang Laun
wolfgang.laun at gmail.com
Thu Jun 21 02:22:44 EDT 2012
n:Number((n.intValue()>0)==$param) from accumulate( FeV1(), count(1) )
-W
On 20/06/2012, Hrumph <Herman.Post at imail.org> wrote:
> Hi. I'm trying to figure out how to express a Condition that does the
> following:
>
> Column name: FeV1 exists
> Possible values: true, false, n/a
>
> I wish to test for the existence of an FeV1 fact and have a different
> condition in the rule generated, as follows:
>
> true, generates 'exists FeV1()'
> false, generates 'not FeV1()'
> n/a, generates nothing
>
> Is there some way to do this?
>
> Thanks,
>
> Herm
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Decision-Table-column-testing-for-exists-tp4018115.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