cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

All tasks completed on a bucket

Hi Community,

 

We have a flow that creates different tasks for departments in the same bucket.

To continue this custom procress we need to identify when a bucket has all tasks completed and do more actions after that.
This will be handle by a second flow, but, Unfortunately , I didn't find a trigger to accomplish this, so I tried to do a workaround , triggering the flow when a task is completed, reading all buckets on the plan to match with that one that has the same ID of the task.  But again, I dont have actions to list all task on the specific bucket, check if them are completed  or an action that checks if this completed task was the last one pending.


Maybe is something there to accomplish this in a simple way, maybe not. but at the moment I can't find a solution.

Could you help me ?

Regards

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: All tasks completed on a bucket

Hi @PinkFloyd2020,

You can take a reference to create a flow as below:

  1. create a variable to store the tasks that are not completed.
  2. Then get List tasks of the plan within the target bucket.
  3. Create a condition to find the tasks have not completed in the same bucket: If it met these condition, increase the TaskCount. Mark the uncompleted tasks
  4. After the Apply to each action, create a condition to determine the TaskCount is whether 0: If yes, send the notification.

Annotation 2019-08-09 155404.pngAnnotation 2019-08-09 155440.png

Please have a try, I hope it can help you.

 

Best Regards,

Community Support Team _ Lin Tu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: All tasks completed on a bucket

Hi @PinkFloyd2020,

You can take a reference to create a flow as below:

  1. create a variable to store the tasks that are not completed.
  2. Then get List tasks of the plan within the target bucket.
  3. Create a condition to find the tasks have not completed in the same bucket: If it met these condition, increase the TaskCount. Mark the uncompleted tasks
  4. After the Apply to each action, create a condition to determine the TaskCount is whether 0: If yes, send the notification.

Annotation 2019-08-09 155404.pngAnnotation 2019-08-09 155440.png

Please have a try, I hope it can help you.

 

Best Regards,

Community Support Team _ Lin Tu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
New Member

Re: All tasks completed on a bucket

@v-litu-msft Good morning,

Thanks a lot for your reply and complete explanation. Making a variable wasn't appear in my brain... what a Rookie ..LOL
I will test this in a few hours and come back to you with the results.

Thanks again Smiley Happy

Highlighted
New Member

Re: All tasks completed on a bucket

@v-litu-msft works like a charm.

Thanks again 🙂

 

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (6,255)