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
  • 0
    Certified Lead Developer
    John, I noted the same. Frankly, I'm quite disappointed - unimpressed, even - with the quality of the code that is produced by a Quick App; it certainly wouldn't pass any code reviews, and in places breaches Appian's own coding standards and best practices. I'll probably compile a list of what I see is wrong at some point, but right now it'll take too long!
Reply
  • 0
    Certified Lead Developer
    John, I noted the same. Frankly, I'm quite disappointed - unimpressed, even - with the quality of the code that is produced by a Quick App; it certainly wouldn't pass any code reviews, and in places breaches Appian's own coding standards and best practices. I'll probably compile a list of what I see is wrong at some point, but right now it'll take too long!
Children
No Data