Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

How can I validate a Time before running a flow?

My App has an input field txtDeliveryTime. It is used to input a Time, which is then passed as a parameter to a flow which then updates a Time field in an SQL Table. (datatype: time(0))

A flow recently failed with this error:

We cannot convert the value "56:00:00" to type Time.
     inner exception: We cannot convert the value "56:00:00" to type Time.
clientRequestId: 21144b16-6bd8-4890-945a-c04f7c60ce31

Is there a way I can validate this as a valid time before I run the flow? 

Dual Super User III
Dual Super User III

I can't give you the specific REGEX expression off the top of my head, but you should be able to validate that the string is in the right format using ISMatch() before you send it as a parameter to flow.

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

PA 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 Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

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
Top Kudoed Authors
Users online (43,741)