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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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
Users online (1,036)