Question on if() function's documented functionality

It appears that the if() function has some undocumented functionality: it can handle if-elseif-else structures with only one call to if() instead of several nested calls. I found this use case while looking through the objects in a Quick App -- have a look in the interface rule GetIconForPriority.

Can any Appian employee confirm that this functionality was intended? Given that it's used in Quick Apps, I'm not exactly afraid that it will disappear, but I still hesitate to make use of undocumented functionality.

OriginalPostID-212631

OriginalPostID-212631

  Discussion posts and replies are publicly visible

Parents
  • John, thanks for asking about this. Using more than three parameters with if() is not supported. The fact that Quick Apps generates rules that do this is an oversight that will be corrected in a hotfix.

    We're very aware that having to nest if() functions to achieve if/elseif/else behavior is not ideal. We're currently exploring ways to provide a better design experience for conditionals in a future release.
Reply
  • John, thanks for asking about this. Using more than three parameters with if() is not supported. The fact that Quick Apps generates rules that do this is an oversight that will be corrected in a hotfix.

    We're very aware that having to nest if() functions to achieve if/elseif/else behavior is not ideal. We're currently exploring ways to provide a better design experience for conditionals in a future release.
Children
No Data