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

Approval fails on form submission- what did i do wrong?

Hello,

 

I created a flow trigger by a form submission. Based on the submission time, if it's after 10 AM, it needs an approval, and an escalation if the 1st approval times out. But it keeps failing and i can't seem to identify the problem. 

 

Please help take a look - any help is appreciated! 

 

1.PNG2.PNG

 

3.PNG4.PNG5.PNG

 

6.PNG

 

 

6 REPLIES 6
Super User
Super User

Re: Approval fails on form submission- what did i do wrong?

@purpleplate 

I see that there is an expression in your condition - can you screen shot your expression?

 

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

Scott
purpleplate
Level: Powered On

Re: Approval fails on form submission- what did i do wrong?

@ScottShearer , yes, expression is: 

 

int(formatDateTime(body('Convert_time_zone'),'HHmm'))

 

 

Community Support Team
Community Support Team

Re: Approval fails on form submission- what did i do wrong?

 

Hi @purpleplate ,

 

According to the error information, there is an error in the action in a branch of the condition. Could you provide us with the error message contained in this action?

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Super User
Super User

Re: Approval fails on form submission- what did i do wrong?

@purpleplate 

In my testing I found that the expression will generate an error unless an acceptable date/time format is selected in the Convert Time Zone action.  While others may work, I had success when I selected round trip date/time pattern.

If that does not resolve your issue, please post a more detailed screen shot of your Flow.

 

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

Scott
purpleplate
Level: Powered On

Re: Approval fails on form submission- what did i do wrong?

@v-bacao-msft , please see below - appreciate your help:

 

7.PNG

Highlighted
purpleplate
Level: Powered On

Re: Approval fails on form submission- what did i do wrong?

@ScottShearer , i think the output of the convert time zone looks OK?

 

8.PNG

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 (4,373)