cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
purpleplate
Level: Powered On

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
Dual Super User

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
Dual Super User

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
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,014)