Timeout in Power Automate

2023-08-04

All articles from this blog can ONLY be redistributed on an Attribution-NonCommercial-NoDerivs basis. Please credit the source, thank you.
Twitter:@kelvinshen
Blog:Kelvin Shen's Blog

Continue with my previous post Implementing Approval Processes in Power Automate, what if no one responds to the approval request? Will the Power Automate flow waiting indefinitely? Can we set a timeout for the approval request?

The answer is yes. We can set a timeout for the approval request. The timeout is set in the approval action. If the approval request is not responded within the timeout period, the flow will continue to the next action.

Step 1: Set Up a Timeout

  1. In your Power Automate flow, select the Settings of your approval action.

  2. In the settings panel, you will find the Timeout field. Here, you can define the duration after which the action should timeout. The duration is specified in ISO 8601 format. For 6 months, the format would be P6M.

  3. Save your changes and close the settings panel.

image

image

Step 2: Configure an Action Post Timeout

After setting up the timeout, you should configure actions that need to be undertaken once the timeout period is reached.

  1. After the approval action in your flow, add a Condition action to check the outcome of the approval.

  2. In the Condition action, check whether the approval status is equal to Approve, Reject, or if it is null (which will be the case if it has timed out).

  3. In the If Yes and If No branches, configure the necessary actions that should happen for approval and rejection, respectively.

  4. In the branch that is for the timeout scenario (where the outcome is null), you should configure actions that should happen if there is a timeout (like sending a notification, updating a record to reflect the timeout status, etc.).

Leave a Reply

comments powered by Disqus


Table of Content