cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JayJustice
Regular Visitor

The date is wrong when testing my CREATE EVENT flow

Hello everyone,

 

What am I trying to do: I am trying to create a flow where if a calendar event is starting soon within 15 minutes, create a new event called "Pre-Meeting" buffer that starts 15 minutes before the actual meeting. 

 

Example: 

Test meeting is at 9:00am - This means that a pre-meeting buffer should be in the calendar at 8:45am. 

 

What is the error I am facing: When the flow is triggered it starts about 6 hours later

 

What have I tried: I have tried changing times in the flow to pacific standard and checked the outlook calendar online to make sure that the calendar is on pacific as well.

 

I also notice that the time for the out put is in GMT instead of pacific standard and I think the time is off.

 

If there is anything I am missing let me know. 

 

I used the addMinutes expression thing from this video: https://youtu.be/zMCoD-I_-pM?t=105

qaa.png

 

zcxv.pngzcxv2.pngzcxv3.pngzcxv4.pngzcxv5.png

1 ACCEPTED SOLUTION

Accepted Solutions
rohsh354
Microsoft
Microsoft

 

@JayJustice :

 

You can add a compose action and convert the timezone from trigger output to PST, like below:

 

convertTimeZone(triggerBody()?['start'],'UTC','Pacific Standard Time')
 
And then create the event in your desired timezone.
 
Screen1.png
 
Hope this helps !
 

 

 

 

 

 

View solution in original post

1 REPLY 1
rohsh354
Microsoft
Microsoft

 

@JayJustice :

 

You can add a compose action and convert the timezone from trigger output to PST, like below:

 

convertTimeZone(triggerBody()?['start'],'UTC','Pacific Standard Time')
 
And then create the event in your desired timezone.
 
Screen1.png
 
Hope this helps !
 

 

 

 

 

 

View solution in original post

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 (12,684)