Posted: 8 Aug 2018 11:17 EDT Last activity: 11 Aug 2018 6:35 EDT
Nested functions syntax?
I would like to call the IsInPageList(lookFor, lookAt, lookIn) function but the lookFor parameter is a value list so I have to loop through that too. I was thinking passing the function IsInPropertyList(lookFor, lookIn) function in the lookFor to loop through that value list. Would this be possible? If so, could you please provide the correct syntax &/ example to achieving this?
IsInPropertyList(LookFor, LookIn) — Useful for searching through the elements of a Value List property. It returns true if the string lookFor is equal to one of the values in the Value List (or Value Group) property named lookIn.
The output of function IsInPropertyList is a boolean. So you cannot pass it into function IsInPageList.
Thanks for the explanations guys! The IsInPropertyList was initially used to loop through a value list in a decision table but now I'm trying to transition from the decision table to comparing values in a data table/data page. If I can't use IsInPropertyList because it returns a Boolean, is there another workaround? (These functions are being called in a when rule)