Hi Appian Gurus,
I recently came across a code like this :
I noticed that using the If() function with more than three parameters works like a nested If condition. However, I couldn’t find any documentation about this behavior in Appian’s official documentation. Is it acceptable to use the If function in this way?
Discussion posts and replies are publicly visible
Just to follow up — I completely agree that a!match() is the better, safer option for handling multiple conditions. What I meant to convey is that the extended if() syntax does work and is commonly used in practice, but since it's not officially documented, there's always a chance it could stop working in future versions. So yes — it's definitely better to replace it with a!match() where possible.
a!match()
if()