cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mafercz
New Member

If Expression in Flow- Dynamic Content Microsoft Form

Hi, 

 

I appreciate your help!

 

I have a Microsoft form with a 2 choice answer. I want to use the answer and transform it to incorporate a phrase in an email. The answer options are:

  • Accepting something of value
  • Giving something of value

What I want to achieve is that every time that the responder answers 'accepting...' the if expression transforms it to "accept a benefit" otherwise "give a benefit". The formula below is what I tried, but is not working, it only gives me "give a benefit" every time regardless of the option selected. 

 

Please help! thank you

 

if(equals(outputs('Get_response_details')?['body/ra11e23c1e54d437e8350eca8f8970930'],'Accepting something of value'),'accept a benefit','give a benefit')
1 ACCEPTED SOLUTION

Accepted Solutions
ManishJain
Solution Sage
Solution Sage

Hi @Mafercz ,

 

Can you please use compose action to see the response first , I believe you are doing some spelling mistake in comparison. 

 

Thanks

View solution in original post

2 REPLIES 2
ManishJain
Solution Sage
Solution Sage

Hi @Mafercz ,

 

Can you please use compose action to see the response first , I believe you are doing some spelling mistake in comparison. 

 

Thanks

View solution in original post

rimatos
Microsoft
Microsoft

Hi @Mafercz ,

As mentioned by @Mafercz  it could be a spelling mistake. Check it through compose, or alternatively try and use the "Contains" logic operator. It could be that the message you are containing as an extra blank space and it leads to the resulte always giving false.

 

Regards,

Ricardo

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,036)