Hi,
I'm relatively new to Appian and came across a use of the if() function that didn't seem to fit with the online documentation and syntax. According to some more experienced developers it wasn't unusual, but I was disappointed not being able to figure it out on my own.
How would you all go about understanding a function use that didn't seem to match known syntax? Or help me read the syntax better:
if( condition, valueIfTrue, valueIfFalse )
showWhen: if( local!status = cons!APPL_STS_OFF, local!level= cons!APPL_LVL_THIS, local!level = cons!APPL_LVL_THAT )
Discussion posts and replies are publicly visible
There is an edge case in the internal implementation which, theoretically, allows you to put multiple conditions into an if(). But this again can lead to more edge cases depending on which other values you use.
So, from my perspective, this is pretty simple. ONE if() takes exactly ONE condition!
Thanks for looking. Yes, in the morning this does make perfect sense!