We use nested If statement & Switch Statement to justify conditional logic. So rather than calling them which looks bad design in Server action as per flow. we can use C# ternary opertor concept which will give result in single statement.
Can't you use the if(condition, true, false) built-in function?
When we have multiple nested conditions we prefer IF ELSE or SWITCH condition which are in-built function of OutSystems. I am talking about ternary operator which will provide us nested condition logic by using single statement.