cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Microsoft
Microsoft

Re: The date is wrong when testing my CREATE EVENT flow

 

@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
Highlighted
Microsoft
Microsoft

Re: The date is wrong when testing my CREATE EVENT flow

 

@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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (9,963)