cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
frixel
Post Prodigy
Post Prodigy

Flow with forward mail and Change attachment

Hi,

 

I have this Flow that when a mail arrives in the box he forward the mail to some people.

The mail is always with a attachment, but sometime te attachment name are the same and that gives a conflict  for further editing with different process.

 

Is it possible to change the name of the attachment with a timestamp before it is send?

 

attachment.png

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @frixel 

Thank you for your post.

I was hoping you could help assist the community with this post?

I see that you are trying to address the following:

"The mail is always with a attachment, but sometime te attachment name are the same and that gives a conflict  for further editing with different process."

 

Basically, this is the request I have addressed and resolved for you in this post:

 

I have walked through how to generate a time stamp and added it to your file to avoid duplication of the file name.

 

It would help the community for this post to be marked as a solution, would you mind doing that please or will you be happy for me to mark it so?

 

For clarity , the below from the post addresses your file duplication issues:

Capture-358.pngCapture-359.png

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

7 REPLIES 7
WDRC
Helper V
Helper V

@frixel,

 

I have seen this type of thing before, someone else had a similar issue, they used something called a guid  to rename the files which was better than a time stamp for their issue.

 

https://powerusers.microsoft.com/t5/Building-Flows/Renaming-multiple-attachements/m-p/199446#M20750

 

Hope the above helps, please note I have never used the above.

 

Regards,

 

Andrew

v-yuazh-msft
Community Support
Community Support

Hi @WDRC,

 

Changing the the attachment name with an "Forword email" action is not supported in microsoft flow currently.

How many attachments are in the email?

 

If you have one attachment in your email, you could take a try with "Send an email" action to achieve your needs.

Capture.PNG

 

 

The expression in the Attachment Name column as below:

concat(utcNow(),items('Apply_to_each')?['Name'])

Best regards,

Alice

Thank you for your info but I get the error message below.

 

attachment.png

Hi @frixel,

 

Could you please share a screenshot of the configuration of your flow?

 

My flow would run successfully as below:

Capture.PNG

 

 

 

Best regards,

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @frixel 

Thank you for your post.

I was hoping you could help assist the community with this post?

I see that you are trying to address the following:

"The mail is always with a attachment, but sometime te attachment name are the same and that gives a conflict  for further editing with different process."

 

Basically, this is the request I have addressed and resolved for you in this post:

 

I have walked through how to generate a time stamp and added it to your file to avoid duplication of the file name.

 

It would help the community for this post to be marked as a solution, would you mind doing that please or will you be happy for me to mark it so?

 

For clarity , the below from the post addresses your file duplication issues:

Capture-358.pngCapture-359.png

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

Returning to this flow for a while.(with thanks to AlanPs1)


I have been using this for a week now, but I some files are being saved incorrectly.

The mail is with the excel extension for the attachment , but they will saved with a .03 ext? after the name.

 

What is going wrong?

 

flow21.png

Hi There.

 

Is there nobody who can help me with this?

I can`t find to resolve this.

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (47,185)