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

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
Highlighted
Community Support
Community Support

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
Frequent Visitor

Re: outlook event elapsed time

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

Highlighted
Frequent Visitor

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
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,914)