cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SteveT
Level: Powered On

If condition on flow always returning as false when statement is true

Hi Guys, 

 

I am using a SharePoint list as my datasource, on the list I have a choice column called "ApproverList1" which contains some names of approvers. 

 

In my flow I have setup a condition such as if "ApproverList" is equal to "Kevin", then send email to Kevin's email address. 

 

I update my list so that my condition is met, check my flow however it always returns a false statement even though the statement is true. 

 

FlowError1.PNGFlowError2.PNG

I have also tried manually adding an expression for the condition such as: 

 

string(triggerBody()?['ApproverList1']) is equal to Kevin
FlowError3.PNG
Can someone give me some pointers as to why this isnt working? 
 
Many thanks 

SteveT
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: If condition on flow always returning as false when statement is true

@SteveT 

In your condition, you should be selecting "Approver List Value" from Dynamic properties and not just "Approver List".  Can you check that and let me know if this works for you.

 

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: If condition on flow always returning as false when statement is true

@SteveT 

In your condition, you should be selecting "Approver List Value" from Dynamic properties and not just "Approver List".  Can you check that and let me know if this works for you.

 

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

SteveT
Level: Powered On

Re: If condition on flow always returning as false when statement is true

Thanks for the steer @ScottShearer works a treat now 🙂 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 305 members 5,645 guests
Recent signins:
Please welcome our newest community members: