Flow Designer Inputting Wrong Time Zone

gcolj
Tera Contributor

Hi Folks, 

 

Bit of a strange issue. I have a flow that creates an Outage Record on the Outage Table. It uses the Incident User Impact End time + 1 second. 

 

The User Impact End Time is below; 

 

gcolj_0-1697898086026.png

 

On creating the record, I am using the Transform Function to add 1 second; 

 

gcolj_1-1697898218842.png

However when I run the Flow and the Outage Record gets created, it shows with a time of 01:15:51 instead of 03:15:51 - and I have no idea why; 

 

gcolj_2-1697898385891.png

I could put the User Impact End Time minus 2hrs and 1 second, but I don't understand the logic - and this will be used across multiple shores and time zones. If someone could explain why this is happening and what I should be solutioning, I'd greatly appreciate it. 

1 REPLY 1

Raveena
Tera Contributor

This is probably because the flow is running via a system user that picks up the system time zone (usually Los Angeles) timezone and adding that 1 second. You could switch it to run for user who initiates the session with the flow, This setting is in the properties of the flow accessible via the ellipses with the 3 dots on the top right corner of a flow.