cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Flow Does not contain and Contain do not work

I have a flow which is checking my Filename which is being passed to the condition action block. I am checking if my filename has word metadata in it. So if I pass filename as metadatafile.csv, My flow which says (if filename does not contain metadata) should return false but it is returning true. What wrong am I doing??

 

Ankit77_0-1614778287449.png

 

Ankit77_1-1614778321862.png

 

 

1 REPLY 1
VictorIvanidze
Community Champion
Community Champion

Try this:

contains(toLower(variables('FileName')),'metadata')
 
--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,933)