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

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

@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

@ScottShearer , yes, expression is: 

 

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

 

 

Community Support
Community Support

 

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.

@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

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

 

7.PNG

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

 

8.PNG

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.

Top Solution Authors
Top Kudoed Authors
Users online (15,335)