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

Flow with a Condition Checking a Textbox Value

I am attempting to add a flow condition associated with a text field in my SharePoint list (Single line of text), but it is not functioning as expected. The flow does not fail, but the result is always set to False regardless of the text entry. The name of the field (Single line of text) in Sharepoint is Change. If the text in the field = Yes, then the condition should be true but it is always set to False. I'm guessing I need to make a change in advanced mode, but I am not having luck. Any ideas?


@contains(triggerBody()?['Change'], 'Yes')


I greatly appreciate the help.








Community Support Team
Community Support Team

Re: Flow with a Condition Checking a Textbox Value

Hi @mea,


I have made a test on my side and don't have the issue that you mentioned.

The screenshot of my flow as below:


When an item is created in the sharepoint list as below:



The flow would run successfully as below:



Could you please share a screenshot of the configuration of your flow?

Could you please share a screenshot of your sharepoint list with items?


Please make sure the item in the single line of text column in  the sharepoint list would contain the string "Yes", and not "YES" or "yes", because the expression in flow would distinguish the uppercase and lowercase of the string.


Please let me know if your problem could be solved.


Best regards,


Helpful resources


Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

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


Incoming: New and improved badges!

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


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (2,887)