Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

removing complete items when all items in that 'category' are complete

(0) ShareShare
ReportReport
Posted on by 4

Hello,

 

I have a tracker that tracks all our work each job is related to a group, one column shows the group name another shows the job status. when all jobs/items in a group are complete I would like to 'move' (create a new item and delete the original) to an archive list but I cannot figure it out. any help would be appreciated 

 

I have made an example shown below, 'example 1' and 'example 2' groups are complete as there is no work left to do. I would like to move all items in those groups to an archive list 

 

this flow would work on a scheduled basis. if all items with the same group are complete/have no work then move all those items to another list  

 

I should point out the actual tracker has hundreds of groups that are updated very frequently so listing all groups in a flow or a flow for each group is not practical

Jwickes_0-1658935991457.png

 

  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at
    Re: removing complete items when all items in that 'category' are complete

    @Jwickes 

    Hi there.  One way to approach this might be to have a recurrence trigger that runs the flow every so often.

     

    Then, you can get the list of items and group by the "Group".  Here's an article walking through this (sort of):  Group a List for a Summary Using Power Automate

     

    Then you can compare the number of tasks that have "comp" to the number of tasks for each group.  If they are equal (there are three tasks, and three "comps" for that group) then you can have a loop that cycles through each of the tasks in that group and copies them over to your archive list before removing them from the active list.

     

    There are probably other ways to solve it, but that's one I came up with. 🙂

     

    Good luck, keep us posted.

    -Ed

     

    If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1