cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
swbates
Level: Powered On

outlook event elapsed time

I am trying to create a flow that takes my calendar and exports the events to excel so that it can calculate the total time spent per category.

Issue one is that new events are coming through as updated instead of added (posted this on the other post)

Issue two is how to keep reponses from going through the flow (I had no idea how many things trigger an update)

Issue three is I can't seem to figure out how to subtact the end time from the start time to get total event time

 

basically I want it to:

1. add new events to an excel list (or a better app, I'm open to whatever)

2.  When an event is modified (really only care if the times and date are whats modified) update the line (add it if isn't there)

3.  remove the line if the event is deleted

3 REPLIES 3
Community Support Team
Community Support Team

Re: outlook event elapsed time

Hi @swbates ,

 

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

 

For your first and second issue, could you please explain more details about the issues?

For your third issue, please take a try with expression below:

div(sub(ticks(outputs('EndTime')),ticks(outputs('StartTime'))),36000000000)

2.png3.png

 

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.

Highlighted
swbates
Level: Powered On

Re: outlook event elapsed time

I can't get it to post the picture...is there an easy way to post the flow?

swbates
Level: Powered On

Re: outlook event elapsed time

@v-alzhan-msft 

Ok, I have the elapsed time working.  I just had to adjust the 36000000000 to get to minutes.  Thank you.

 

As for issues 1.

 

When I make a new event on my calendar, it comes through as updated and not added.

{

"ActionType": "updated",
"subject": "test",
"start": "2019-10-03T21:00:00.0000000",
"end": "2019-10-03T21:30:00.0000000",
"isHtml": true,
"responseType": "none",
"responseTime": "0001-01-01T00:00:00+00:00",
 
"createdDateTime": "2019-10-03T20:18:43.6696043+00:00",
"lastModifiedDateTime": "2019-10-03T20:18:44.7399881+00:00",
 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,832)