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.
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.
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:
The flow works successfully as below:
@noearcmon Can you update and post if your issue has been resolved?
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!