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
Community Manager
Microsoft Power Automate | Power Virtual Agents
Are YOU a member of a Power Platform 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
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (5,032)