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

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

Top Solution Authors
Users online (29,297)