Skip to main content
Post

#PowerPlatformTip 144: Infinite Approvals beyond 30 days

Power Automate approvals time out after 30 days, killing long HR, legal & multi-level sign-offs. Two patterns to run approvals indefinitely, no premium needed.

#PowerPlatformTip 144: Infinite Approvals beyond 30 days

TL;DR: Beat the 30-day Power Automate approval timeout by having the flow restart itself via a SharePoint TriggerFlow flag, either send a fresh approval each cycle, or keep waiting on the same approval by storing its Approval ID. Two more community variants (two flows over Dataverse, or a self-restarting child flow) are linked in “More ways to solve it”.

Approvals that run longer than 30 days are far more common than most makers expect. Contract sign-offs, budget and procurement requests, legal reviews, complex HR cases, or multi-level management chains routinely sit in someone’s queue for weeks. Then, quietly, the flow run just times out at day 30, the approval task goes stale, nobody gets notified, and the whole process silently dies in the run history. This tip gives you two reliable patterns to keep those approvals alive for as long as you need.

💡 Challenge

Standard Power Automate approval actions (“Start and wait for an approval” / “Wait for an approval”) have a hard 30-day action timeout. When that limit is hit:

🔸 The flow run stops and is marked as timed out in the history.

🔸 The approval task and email link go stale, approvers who finally react get nothing back.

🔸 There’s no built-in way to “keep waiting” or automatically resume the process.

For any business process where a decision legitimately takes longer than a month, this is a showstopper.

✅ Solution

Let the flow restart itself before or after the timeout, using a small SharePoint list as a control table. Two helper columns drive everything:

🔸 TriggerFlow (Yes/No), controls when a new run may start.

🔸 ApprovalID (single line of text), stores the current approval so a later run can keep waiting on it (only needed for Method 2).

From there, pick the pattern that fits your process:

🔸 Method 1, New approval each cycle: every timeout starts a fresh approval (new email + new task). Best when you want a recurring reminder.

🔸 Method 2, Same approval, silent restart: the flow restarts in the background but keeps waiting on the original approval task, so the first email link stays valid. Best for a clean approver experience.

flowchart LR
    subgraph M1["Method 1 - new approval each cycle"]
        A1["Start and wait for approval<br/>Timeout = P27D"] -->|has timed out| B1["Update item: TriggerFlow = Yes"] -.->|restarts flow| A1
        A1 -->|is successful| C1["Business logic<br/>TriggerFlow stays No"]
    end
    subgraph M2["Method 2 - same approval, silent restart"]
        A2{"ApprovalID empty?"} -->|yes| B2["Create an approval"] --> C2["Store ApprovalID"]
        A2 -->|no| D2["Reuse stored ApprovalID"]
        C2 --> E2["Wait for an approval"]
        D2 --> E2
        E2 -->|has timed out| F2["Update item: TriggerFlow = Yes"] -.->|restarts, same task| A2
        E2 -->|is successful| G2["Business logic<br/>clear ApprovalID"]
    end

🔧 How It’s Done

1. Prepare SharePoint and the trigger

🔸 Add a Yes/No column TriggerFlow (default Yes) and a single-line-of-text column ApprovalID to your SharePoint list.

🔸 Use the trigger “When an item is created or modified” with the trigger condition @equals(triggerOutputs()?['body/TriggerFlow'], true) so the flow only runs when TriggerFlow is Yes.

🔸 Make the very first action after the trigger an Update item that sets TriggerFlow to No. This prevents edits during the run from re-triggering the flow and creating infinite loops.

2. Method 1, a new approval each time

🔸 Add “Start and wait for an approval”, configure Title and Assigned to as usual, and set a Timeout (e.g. P27D = 27 days) in the action settings so you restart before the limit. Per Microsoft Learn, a flow waits for an approval for 28 days at most, so the timeout must stay below 28 days.

🔸 After it, add an Update item that sets TriggerFlow back to Yes, with Configure run after set to run only when the approval has timed out. Flipping the item starts a new run that sends a fresh approval email and task.

Power Automate designer: Settings tab of the Update item action with the Run after section expanded for Start and wait for an approval, only Has timed out is checked The Run after section in the Settings tab of the Update item action: only Has timed out is checked for “Start and wait for an approval”, so the restart happens exclusively when the approval ran into its timeout.

🔸 On the is successful path, put your real post-approval business logic and leave TriggerFlow at No so the loop ends.

3. Method 2, keep waiting on the same approval

🔸 Add a Condition checking whether ApprovalID is empty. If empty → use “Create an approval”, then Update item to write the returned Approval ID into ApprovalID. If not empty → use Compose to read the existing ApprovalID so it can be reused.

🔸 Below the condition, add “Wait for an approval” and supply the Approval ID, so every run waits on the correct, original approval task.

🔸 Add an Update item with run after: has timed out that sets TriggerFlow to Yes, this restarts the flow silently while the original approval email/link stays valid.

🔸 Add a separate is successful branch on “Wait for an approval” with your post-approval logic, and finish with an Update item that clears ApprovalID and keeps TriggerFlow at No so the loop ends cleanly.

4. Test the restart cycle

🔸 Temporarily set the Timeout very short (e.g. PT5M) to prove the timeout → restart handoff works before going live with P27D.

🤔 Which method should I choose?

  Method 1, New approval Method 2, Same approval
Approver gets A fresh email + task each cycle One persistent task; no new emails
Feels like A recurring reminder A single, uninterrupted approval
Extra column TriggerFlow only TriggerFlow + ApprovalID
Best for Chasing slow approvers Clean UX, audit-friendly processes
Approvals center Multiple entries over time One stable entry

🧭 More ways to solve it

Two other community write-ups attack the same 30-day limit. Both are worth knowing, here is what each one does and where it differs from Methods 1 and 2.

Method 3, two flows over Dataverse (Matthew Devaney). Flow 1 creates the approval and writes its Approval ID to the SharePoint item (Request Status = Submitted), then ends without waiting. Flow 2 uses the Dataverse trigger “When a row is added, modified or deleted” on the Approvals table with the filter msdyn_flow_approval_source eq '<source>' and statuscode eq 192350004 (192350004 = Completed). It looks up the item by Approval ID and sets the status to Approved or Rejected depending on the outcome. Nothing waits, so there is no 30-day clock at all. Trade-off: it is Premium (Dataverse connector, one Premium account owns both flows; approvers need no extra license), and the approval needs a source value so Flow 2 can tell your approvals apart from all others in the environment. Microsoft documents the same two-flow idea for long-running approvals in Create and test an approval workflow. Source: Extend a Power Automate approval over the 30-day limit

Method 4, self-restarting child flow (Tom Riha). Move “Wait for an approval” and everything after it into a child flow with the Approval ID (text) and the item ID (number) as inputs. On “Wait for an approval” set a timeout and add a branch that runs when it times out and starts the child flow again with the same Approval ID, so the loop repeats until the task is completed. The main flow calls the child flow with “Run a Child Flow”. Trade-off: the flows must live in a Solution, the child flow needs fixed connections, and the process should be built as a state machine so a restart is safe. The author uses 29 days as the timeout; with the 28-day limit from Microsoft Learn (see the note below) stay at P27D or lower. Source: How to process a Power Automate approval task after 30 days

  Method 3, Dataverse trigger Method 4, child flow
Waits in a flow run No Yes, restarted every cycle
Licence Premium (Dataverse connector) Depends on the connectors you use
Needs Approval source value, Approval ID stored Solution, fixed child-flow connections
Compared with Methods 1 and 2 No restarts, but two flows to keep in sync Same idea as Method 2, without a SharePoint flag

Note on the limit: Microsoft Learn lists a run duration of 30 days for cloud flows, and the approvals known-issues page states that an approval flow can wait for 28 days; if the wait exceeds 28 days the flow fails while the approval stays in the Approvals center (Known issues). That is why the timeouts in this tip are P27D.

🗃️ Where the approval lives after the flow run has timed out

The approval itself is not inside the flow run, it is a set of Dataverse rows, checked read-only in a dev environment with 75 approvals:

🔸 msdyn_flow_approval is the approval. Its statuscode values are Created (192350000), Pending (192350001), Suspended (192350002), Completed (192350004), Expired (192350005), Canceled (192350006) and Abandoned (192350007); statecode 0 is Active, 1 is Inactive. msdyn_flow_approval_expireson was 9999-12-31 on every row.

🔸 msdyn_flow_approvalrequest is one row per approver with the offered options (msdyn_flow_approvalrequest_options = ["Approve","Reject"]) and the approver as owner.

🔸 msdyn_flow_approvalresponse is created when someone answers (msdyn_flow_approvalresponse_response = Approve or Reject).

Of the 75 approvals, 50 were still Pending, the oldest created on 2026-03-10, seven months before the check. Nothing in Dataverse marks an approval as timed out when its flow run hits day 30: the row stays Pending, the task stays in the Approvals center and the approver can still answer it. That is the fact Method 2 relies on, “Wait for an approval” with the stored Approval ID simply attaches a new run to a row that never went away.

To list the leftovers of flows that died at the timeout, run this against the environment (12 hits in the dev environment):

1
2
3
4
GET .../api/data/v9.2/msdyn_flow_approvals
    ?$select=msdyn_flow_approval_title,createdon
    &$filter=statuscode eq 192350001 and createdon lt 2026-09-15T00:00:00Z
    &$orderby=createdon asc

On an own test approval row, PATCH msdyn_flow_approvals(<id>) with {"statecode": 1, "statuscode": 192350006} set it to Canceled, and DELETE on the same row removed it, so stale approvals can be closed in bulk with a flow or a script once you have the list.

🎉 Result

Your approval flows now run without a hard time limit, each timeout simply restarts the flow instead of killing the process. Depending on the method, approvers either get a fresh nudge every cycle, or work with a single persistent approval that stays valid while the flow quietly restarts in the background. No more decisions lost at day 30.

🌟 Key Advantages

🔸 Removes the 30-day approval timeout as a failure point in long-running processes.

🔸 Two patterns: stronger visibility (repeated reminders) or a cleaner single-approval experience.

🔸 Methods 1 and 2 use only standard SharePoint and Approvals capabilities, no premium licenses or custom connectors (Method 3 needs Premium).

🔸 The TriggerFlow guard prevents runaway/infinite loops by design.

🎥 Video Tutorial

🛠️ FAQ

1. Why can’t approvals simply run longer than 30 days? Approvals are subject to Power Automate action limits, and long-running actions time out after 30 days. That’s a platform limit you can’t raise, so you need a restartable pattern to keep the process alive.

2. Why does Method 2 split “Create an approval” and “Wait for an approval”? Splitting the actions exposes the Approval ID. Storing it in SharePoint lets later runs reuse it, so the same approval task is tracked across restarts instead of creating a new task each time.

3. How does TriggerFlow prevent endless retriggering? The trigger condition only fires when TriggerFlow is Yes, and the first Update item immediately sets it to No. Only the dedicated timeout branch that sets TriggerFlow back to Yes can start a new run, so exactly one controlled restart happens per cycle.

4. Won’t the run history fill up with timed-out runs? Each cycle is a separate run, so yes, you’ll see periodic entries. That’s expected and harmless. Set the Timeout close to the limit (e.g. P27D) to minimize the number of restarts, and use the item’s status column to track where the approval stands.

5. Can I use Dataverse instead of SharePoint? Yes. Any data source with an “on create/modify” trigger and update action works, replace the SharePoint list with a Dataverse table and use the equivalent trigger condition on your TriggerFlow column.

6. Does the approver get spammed with emails? Only with Method 1, and only once per cycle (e.g. every ~27 days), which is usually the desired reminder. Method 2 sends no new emails on restart; the original approval task and its link stay valid.

7. How do I clean up approvals that are still Pending after their flow run timed out? Query msdyn_flow_approvals with $filter=statuscode eq 192350001 and createdon lt <date>; every row returned is an approval nobody can act on anymore because its run is gone. Setting statecode to 1 and statuscode to 192350006 marks a row as Canceled, and a DELETE removes it entirely. With Method 1 you get one such row per cycle, so schedule the cleanup; with Method 2 there is only ever one row per process.

This tip is by Marcel Lehmann, Microsoft MVP (Business Applications) and founder of the Power Platform Academy, which runs free live workshops (in German). See the next free workshop dates (in German). For companies that want this implemented for them, see KMUpower: Power Platform consulting & automation for SMEs (DACH).

This post is licensed under CC BY 4.0 by the author.

Microsoft and the Power Platform product names (for example Power Apps, Power Automate, Copilot Studio) are trademarks of the Microsoft group of companies. This is an independent website. It is not operated, sponsored or endorsed by Microsoft.