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

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
Highlighted
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
Highlighted
Community Support
Community Support

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.
Highlighted
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

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Users online (6,559)