Could someone explain why the following code work without compiler errors?
if( isnull(ri!user), "", isusernametaken(ri!user), user(ri!user, "firstName") & " " & user(ri!user, "lastName"), joinarray(split(ri!user, "."), " ") )
I expect some kind of evaluation error, but it works just as the three lines starting on "isusernametaken" were an embedded if.
I saw that in one of the Appian courses and I'm wondering if it is some undocumented feature of the if function.
Thank you
Discussion posts and replies are publicly visible
I discovered the same last year, I sent email to Appian to ask if its right way to use it. They suggested not to use this functionality and use multiple if statements. Now we have a!match() function for the same functionality.