Hello,
I'm using Power Automate to send an email once a Survey123 form has been sent. The form has values that I'm returning within the email but the values need to be converted to common text, for example "desktop_basic" should be "Desktop Basic". I'm using multiple IF statement separated by OR conditions to achieve this but am coming across an error when setting up my expression.
This expression works just fine.
if(equals(triggerOutputs()?['body/feature/attributes/license_requested'],'desktop_basic'),'Desktop Basic','')
But this expression throws an error
if(equals(triggerOutputs()?['body/feature/attributes/license_requested'],'desktop_basic'),'Desktop Basic','') or if(equals(triggerOutputs()?['body/feature/attributes/license_requested'],'desktop_advanced'),'Desktop Advanced','')
1. Is this the best way to set up the expression or is there a more efficient way to write this?
2. why would I be receiving an error with the expression containing the OR condition?
Any help is appreciated.
Thanks.

Report
All responses (
Answers (