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 / Change Approval tasks ...
Power Automate
Unanswered

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
    68,697 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
    68,697 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

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