cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ching29
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
v-yuazh-msft
Community Support
Community Support

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
tfhegdbn
Helper IV
Helper IV

File name is encoded, try remove encoded. 

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

 

10e.PNGtest.PNG

v-yuazh-msft
Community Support
Community Support

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (4,414)