Hello,
I've built a flow to send an Outlook email populated with data from a MS form submission. However, in the email I'm trying to use the IF expression to show the value of a form field only if the value of another form field is "Yes." Here is the expression that I have so far...
if(equals(body('Get_response_details')?['r9f898a6597024b03989b9f5d13d5b357'],'Yes',body('Get_response_details')?['r346258161c974bd1b6faf5ecc9d12c7b'],'')
I've gotten the expression to work if the true condition value is static text but it keeps coming back as invalid when I try to make the true condition value another form field. I think my syntax is off but I don't know the correct format. Can anyone advise me of the correct format? I'm hoping it's something simple. Thanks.
Solved! Go to Solution.
Hi @jpalmarozzo ,
Please try to format the function likes below:
if(equals(body('Get_response_details')?['r0c350344c2234ed987316af96bee974c'],'Yes'),body('Get_response_details')?['rb4dac56b277b41dd874addc4d62539c1'],'')
I have made a test and it is just working fine.
Best regards,
Mabel
Hi @jpalmarozzo ,
Please try to format the function likes below:
if(equals(body('Get_response_details')?['r0c350344c2234ed987316af96bee974c'],'Yes'),body('Get_response_details')?['rb4dac56b277b41dd874addc4d62539c1'],'')
I have made a test and it is just working fine.
Best regards,
Mabel
User | Count |
---|---|
73 | |
50 | |
49 | |
27 | |
19 |
User | Count |
---|---|
28 | |
27 | |
25 | |
20 | |
19 |