cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

OneDrive FileName wrong

Hi,

 

I'm having a problem in checking the filename of the uploaded file.

I want to create a Flow that sends an email to particular people depending on the file name.

My problem is the file name is not right. File name shoud be  "IT_Issue List - STF Response_BP.xlsx" but the output is "SVRfSXNzdWUgTGlzdCAtIFNURiBSZXNwb25zZV9CUC54bHN4".

Please see image below.

 

Capture.PNG

 

 But when I put it on "Send Email' action, it displays the correct file name. Send Email set-up as html in advanced options.

 

Capture2.PNG

 

Is this an encryption, if yes. How can I convert this? I will use the File Name in "Condition".

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: OneDrive FileName wrong

Hi @ching29,

 

You could also add a "Get file metadate" action in your flow as below:

Capture.PNG

 

The flow would run successfully as below:

Capture.PNG

 

 

Best regards,

Alice

View solution in original post

2 REPLIES 2
Highlighted
Helper IV
Helper IV

Re: OneDrive FileName wrong

File name is encoded, try remove encoded. 

triggerOutputs()['headers']['x-ms-file-name']

 

10e.PNGtest.PNG

Highlighted
Community Support
Community Support

Re: OneDrive FileName wrong

Hi @ching29,

 

You could also add a "Get file metadate" action in your flow as below:

Capture.PNG

 

The flow would run successfully as below:

Capture.PNG

 

 

Best regards,

Alice

View solution in original post

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 (3,862)