[rules-users] Usings joins in decision tables
Michael Anstis
michael.anstis at gmail.com
Thu Apr 5 04:38:47 EDT 2012
Hi,
I assume you mean XLS decision tables, but if you mean in Guvnor the same
principle applies.
Something like this should be OK:-
CONDITION | CONDITION
----------------------------------------
Header | SubHeader
----------------------------------------
$a : id != {param} | $b : id == {param}
----------------------------------------
null | $a
null | $a
null | $a
null | $a
Please note "null" above is the word null (no quotatioin marks) and not an
empty value.
You could use any other check in the Header column that is always true
(e.g. "id > 0" in which case "0" would become the row value, etc).
With kind regards,
Mike
On 3 April 2012 14:39, sumatheja <sumatheja at gmail.com> wrote:
> Hi All,
> I'm new to using decision tables. I'm trying to create a join in
> the condition column like
>
>
> when
> Header($a:id)
> SubHeader($b:id==$a)
>
>
> How to achieve this in decision tables. Any help will be appreciated.
>
> --
> cheers
>
>
>
> _______________________________________________
> 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/20120405/066ebbb1/attachment.html
More information about the rules-users
mailing list