Hi,
Is there any equivalent to Switch or Case statements in Appian.
If I have to implement code similar to the below code line, how can I achieve in Appian.
Any suggessions.
CASE
WHEN ( action="A") THEN WorkflowStatus="WAC", RequestStatus="RAC"
WHEN ( action="B") THEN WorkflowStatus="WBC", RequestStatus="RBC"
WHEN ( action="C") THEN WorkflowStatus="WCC", RequestStatus="RCC"
END CASE
Discussion posts and replies are publicly visible
docs.appian.com/.../Appian_Release_Notes.html
Thanks for replying to my message.
Currently we are using version 21.4 and it seems to be a!match() has been introduced from 22.1
The next best way, in general, is using nested IF statements, though if your values are generally going to be static and plaintext in nature, Stefan's suggestion of using a Decision table might be better.