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

Saving attachment to dropbox

I have a workflow running in office365 which saves all email attachments to a particular dropbox folder using a filename derived from date received (which includes time) + subject of email +name of attachment(s) .

I don't like the date/time format this gives me and I want to produce a filename as follows: yyyymmdd_hhmmss_subject_attachmentname.

Can it be done? How do I do it?Screenshot 2020-01-29 16.02.05.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @Binskit ,

 

Please refer to screenshot below to create the flow:

1.png

 

The expression in the flow as below:

formatDateTime(triggerBody()?['receivedDateTime'],'yyyyMMdd-HHmmss')

 

 

Best regards,

Alice       

 

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.

View solution in original post

2 REPLIES 2
v-alzhan-msft
Community Support
Community Support

Hi @Binskit ,

 

Please refer to screenshot below to create the flow:

1.png

 

The expression in the flow as below:

formatDateTime(triggerBody()?['receivedDateTime'],'yyyyMMdd-HHmmss')

 

 

Best regards,

Alice       

 

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.

View solution in original post

Binskit
Frequent Visitor

superb, thank you

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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 Kudoed Authors
Users online (2,991)