Skip to Content
0

Agentry - Determine Count of Matched Entries in Complex Table

Sep 28, 2017 at 08:49 AM

59

avatar image

Hello Agentry Experts,

In rule's functions we have COMPLEXTABLE to extract single record from ct which satisfies given criteria. But if we have several entries, can we somehow determine their count and then divide upcoming logic in the rule?

For example - if I have one match then do action A, if more then one - action B, if zero match - action C.

Kind regards,

Andrey

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Chung Yu
Oct 06, 2017 at 02:14 PM
0

Try using CASE_INT function. See sample below. if 5 do LaborAdd, if 8 do LaborClear. I hope this help.

-Chung


Share
10 |10000 characters needed characters left characters exceeded