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

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

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
Power Platform Communities
Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (9,683)