web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Scheduled Bulk Approva...
Power Automate
Unanswered

Scheduled Bulk Approval Requests with Outcome Updates

(2) ShareShare
ReportReport
Posted on by 2
I have a set up a scheduled flow that compiles list of items requiring approval 1x/week, sends the approval requests out (via Create Approval), and then based on outcome the status in the SharePoint list gets updated. This works really well when approver responds to approvals in the same order they receive it but when testing scenarios I noticed that if I respond to the request #2 before request #1, the flow breaks down with the error message below. Is there anyway to get this to work without jumping into the premium connectors (e.g., Dataverse)?
 
I'm pretty new to power automate so just having a hard time trying to figure this out. Please help.
 
Here's part of my flow for reference - I have renamed a few actions so the screenshot isn't 100% going match below:
 
For each: outputs('Get_items')?['body/value']
  Create an approval
    Title: Approval for [Transaction Type] - Item [items('For_each')?['ID']]
    Assigned To: sample email
  Append to array variable: ApprovalIDs
    {
      "ApprovalID": outputs('Create_an_approval')?['body/name'],
      "ItemID": items('For_each')?['ID']
    }
Apply to each: variables('ApprovalIDs')
  Wait for an approval
    Approval ID: items('Apply_to_each')?['ApprovalID']
  Update item
    ID: items('Apply_to_each')?['ItemID']
    Test Approval Value: if(
      empty(outputs('Wait_for_an_approval')?['body/outcome']),
      '',
      if(
        equals(outputs('Wait_for_an_approval')?['body/outcome'], 'Approve'),
        'Approved',
        'Rejected'
      )
    )
 
 
 
ERROR:
BadRequest - The request failed. Error code: 'ApprovalSubscriptionNotAllowed'. Error Message: 'Approval cannot be waited on because it is already 'Completed'.'.
 
 
Categories:
I have the same question (0)
  • Suggested answer
    stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
     
    I think it's better to send all approvals out at once, and later query the results independently.
     
    1. Trigger: Scheduled (weekly)
    2. Get Items from SharePoint
    3. Apply to Each:  create the Approval , collect Approval ID and Item ID
    4. After 3, Start Do Until Loop
    5. Inside Do Until, check status of all approvals
    6. If completed, update SharePoint item
    7. Delay,wait 5 min before checking again.
    or you can check the status in step 2, to exclude the approved ones. 
    good luck.

    Enjoy Power Platform and have a great day 🚀 |  My LinkedIn

    If the answer helps, please consider 👍, Thanks.

  • HJ-25042335-0 Profile Picture
    2 on at
    @stampcoin - I need to update list status real-time, so this is why I have an wait for an approval within an apply to each loop. The problem is the way it’s set up, it will record response only if approver responds in the same order he/she received it but that’s not always the case so that’s why im looking for flexibility here. I don’t think the filtering out via get items will solve it since the site isn’t getting update if responded out of order. That said, my get items is currently filtered to get items with a status of pending.
     
    any other suggestions?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard