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

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.

3 REPLIES 3
Highlighted
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.
Highlighted
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!
Highlighted
New Member

Re: Flow Failing - file name is equal to

Hi - anonymous is right - we used this website https://www.base64encode.org/

We included the file suffix ".csv" and used the default settings UTF-8 and LF (Unix)

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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!

Top Solution Authors
Users online (5,301)