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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Change Approval tasks ...
Power Automate
Answered

Change Approval tasks from Active to Inactive

(0) ShareShare
ReportReport
Posted on by 58

I want to clean up abandoned approval tasks. I have found the table 'Approvals' within the dataverse area. 

 

In my flow I have added this after an approval time out so it will change the status from Active to Inactive. 

 

I have followed these instructions but keep getting an error. Has anyone been successful? 

 

Microsoft Dataverse update row.png

 

error.png

error1.png

 

error2.png

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,490 Most Valuable Professional on at

    Instead of marking them inactive it would be easier just to delete that row.  That will have essentially the same effect.  The approval will be removed from the pending approvals pane.

  • karenlacey Profile Picture
    58 on at

    this is why it is always good to ask, yes delete row makes sense as users will never care about seeing that approval task status in a database. There is no use for it after the workflow ends. I have now used Delete Row and it has removed it from the table. In Outlook I get Requested Item is unavailable and in MS Teams I get a correlation error.

     

    Sorted thanks so much 

  • Pstork1 Profile Picture
    69,490 Most Valuable Professional on at

    Unfortunately, there is no way to clean up the reference in Outlook or Teams that I am aware of.

  • karenlacey Profile Picture
    58 on at

    Hi, by deleting the row in the Approvals table it stops the task being submitted. It alerts the user that the request no longer exists so they cannot press submit. In Teams the task now comes up with a correlation ID which alerts the user that it no longer exists. 

    requested approval unavailable copy.png

     

     

    requested approval unavailable - ms teams.png

     

    This is good enough for me. The user knows that they cannot action any longer rather than being misled to believe that they have submitted a response. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard