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

Workflow is marked as fail on "Run After" timeout Action

I want to send an item to approval and wait for 6 hours. If no response is received after that time then I will take the decision to send an email that time has expired and update a sharepoint list item column flag as rejected. I've created a flow that handles the "Run After" Timeout and configured the timeout setting of the Approval Action to PT6H for 6 Hours. But at the end the flow is marked as failed. It is working fine the only thing is that the flow status is failed instead of succeed. I don't want it to be marked as failed.

Capture.PNG

 

3 REPLIES 3
Super User
Super User

Re: Workflow is marked as fail on "Run After" timeout Action

After you send the rejection email when the approval times out and you update the SharePoint list, you can add a Control-Terminate action and set the status to succeeded.  The Terminate action ends the workflow.

 

I just did a quick test and this technique should solve your problem.

 

Terminate.png

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

Scott
Community Support Team
Community Support Team

Re: Workflow is marked as fail on "Run After" timeout Action

Hi @noearcmon,

 

Could you please share a screenshot of your flow's run history?

 

I agree with @ScottShearer's thought almost. I have made a test on my side and the flow's configuration as below:8.JPG

 

9.JPG

The flow works successfully as below:10.JPG

 

11.JPG

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
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: Workflow is marked as fail on "Run After" timeout Action

 

@noearcmon  Can you update and post if your issue has been resolved?

 

Thanks

 

Scott

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

Scott

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Users Online
Currently online: 435 members 5,421 guests
Please welcome our newest community members: