I have the following error,
I am trying to display readOnly info on UI based on a decision table.Decision table have proper values and working good.
Please help me on how to understand this error.
Discussion posts and replies are publicly visible
`wherecontains` returns `List of Number (Integer)` and `Choose` requires an `Integer`.
This may be causing the error.
The example in the docs for choose shows a solution to this.https://docs.appian.com/suite/help/19.1/fnc_logical_choose.html
choose( wherecontains(ri!rating, {"Poor","Satisfactory","Excellent"})[1], mod(rand() * 10, 5), mod(rand() * 10, 5) + 4, 10 - mod(rand() * 10, 2) )
It actually worked.
Thank you so much