I am not sure if it’s normal behaviour, an incorrect syntax or a bug, but I find this a little confusing.
Below is a script with 5 ways to cap values from a list to a maximum of 20.
- Option (1): Working.
- Option (2): Why is it returning the full list when the condition is false ?
- Option (3): Working
- Option (4): Why is this returning null ?
- Option (5): Why a warning and null ?