cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Layla
Level: Power Up

Flow Failing - file name is equal to

Hi,

 

Trying to add a new condition - filename is equals to but the condition keeps failing.

 

I am trying to create a flow where a specific file in FTP is moved to Dropbox when it has been updated.

 

This is the condition:

@equals(outputs('When_a_file_is_added_or_modified')['headers']['x-ms-file-name-encoded'], 'product_2399_en.csv')

 

This is what the flow looks like:

 

 

Any advice would be appreciated.

2 REPLIES 2
Anonymous
Not applicable

Re: Flow Failing - file name is equal to

This is because file name is encoded to base 64. You should change "x-ms-file-name-encoded" to "x-ms-file-name" and try again.
Administrator
Administrator

Re: Flow Failing - file name is equal to

Hello, @Layla!

 

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @Anonymous‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


Thank you for being an active member of the Flow Community!

 

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

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

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 Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,903)