cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User III
Super User III

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
Highlighted
Helper I
Helper I

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

@ScottShearer , yes, expression is: 

 

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

 

 

Highlighted
Community Support
Community Support

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

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
Highlighted
Helper I
Helper I

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

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

 

7.PNG

Highlighted
Helper I
Helper I

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
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,528)