cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Layla
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
Anonymous
Not applicable

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.
GabrielStJohn
Microsoft
Microsoft

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
Power Automate | Power Virtual Agents
Super User Program Manager



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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,924)