I'm trying to build a flow that automatically deletes completed tasks that are more than 30 days old. I found this one https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Remove-Delete-Completed-Tasks-in-Planner/id... but I'm unsure how it can be modified to be used with Project Online.
Solved! Go to Solution.
Hi @mstohry,
Just to double check. You are talking about an Enterprise Project with tasks like in the screenshot below?
If so, first of all I wouldn't recommend deleting completed tasks. If you are using the baseline functionality you will probably loose tracking functionality when you delete tasks.
Nevertheless, there should be REST API endpoints which you can use to interact with Project Online Projects. I believe a lot of the methods from Project Server 2013 are still usable:
Keep in mind that you need to checkout a project first before you can edit, save and publish it again. So this would be several HTTP requests.
Below is an example of an such an Send an HTTP request to SharePoint which consume the Get Projects method.
Hope this helps a bit?
Hi @mstohry,
Just to double check. You are talking about an Enterprise Project with tasks like in the screenshot below?
If so, first of all I wouldn't recommend deleting completed tasks. If you are using the baseline functionality you will probably loose tracking functionality when you delete tasks.
Nevertheless, there should be REST API endpoints which you can use to interact with Project Online Projects. I believe a lot of the methods from Project Server 2013 are still usable:
Keep in mind that you need to checkout a project first before you can edit, save and publish it again. So this would be several HTTP requests.
Below is an example of an such an Send an HTTP request to SharePoint which consume the Get Projects method.
Hope this helps a bit?
Thanks @Expiscornovus! Ok, much more complex than with Planner. My main objective was to clean up the All Tasks view so I could see open tasks with greater ease (I'm mainly using the task view and not the Gaant chart). Looks like manually doing it is the way to go.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
User | Count |
---|---|
74 | |
20 | |
17 | |
14 | |
13 |
User | Count |
---|---|
127 | |
35 | |
31 | |
28 | |
25 |