cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Using Converted Time on Conditions -> Result is True even when it should be false?

Hello,

 

I am build a flow trigger when there is a response submitted to a Microsoft Form, and if the submission time is later than 3:30PM, then triggers an approval. 

 

However, it triggered the approval even if the response was submitted at 8:30 am (condition result should be false but it ran as true). What did i do wrong? Please see below and help,

 

Condition1.PNG

 

 

Condition3.PNG

 

 

Condition2.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User II
Dual Super User II

Re: Using Converted Time on Conditions -> Result is True even when it should be false?

Hi @purpleplate 

 

For the condition

use expression

int(formatDateTime(body('Convert_time_zone'),'HHmm'))
is greater than
1530
 
Capture.PNG
 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
Highlighted
Dual Super User II
Dual Super User II

Re: Using Converted Time on Conditions -> Result is True even when it should be false?

Hi @purpleplate 

 

For the condition

use expression

int(formatDateTime(body('Convert_time_zone'),'HHmm'))
is greater than
1530
 
Capture.PNG
 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

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 (7,330)