cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
swbates
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
v-alzhan-msft
Community Support
Community Support

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.

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

@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
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.

Users online (3,512)