I use planner for my site training. I would like to create a flow that will move the task once completed to the competed bucket. I have found a solution but it doesn't maintain the tasks complete status and once it's moved to a new bucket the task become not started.
What I want is for a flow to automate the action of moving the task once competed to the completed bucket while maintaining its completion status of complete.
Any advice!?
Thank in advance
Hi @Anonymous
it looks like the identifier (id) of the bucket is not correct. How did you get the bucket id?
There is a planner action called "List buckets". Just put this somewhere in your flow, select the group and plan from the dropdown and run the flow. It will give you an overview of all your buckets. The result will look something like:
[
{
"@odata.etag": "<odata.etag>",
"name": "<Bucket Name>",
"planId": "<PlanId>",
"orderHint": "<OrderHint>",
"id": "<Bucket Id>"
},
{
"@odata.etag": "<odata.etag>",
"name": "<Bucket Name>",
"planId": "<PlanId>",
"orderHint": "<OrderHint>",
"id": "<Bucket Id>"
}
]
Select the Bucket ID (as seen above within the "id") of the Bucket you want to put in the tasks afterwards. As from the screenshot of my first message, paste the id as it is inside the "bucket id" field. The bucket id will never change, so it can be a static value. Afterwards you can delete the "List buckets" action from your flow. Please try again to run your flow. If it still fails, please share a screenshot of your action and how it is configured.
Does this help you? Otherwise please give me some more information.
Best regards
Marvin
If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.
Blog: Cloudkumpel
thank you for your advice however, I receive an error "Schema validation has failed. Validation for field 'BucketId', on entity 'Task' has failed: The specified identifier is invalid." I am new at this and not sure how to fix this error. any advice?
Hi @Anonymous
please have a look at the following:
There is an action called "Update a task (V2)" for the Planner actions. You can insert a bucket id, so it will move the task to another bucket. Your flow trigger is the planner trigger "when a task is completed". Using this action, it shouldn't mess up the completion status. If it does, please just enter the 100 within the "Percent completed" field as you can see above.
Does this help you? Otherwise please give me some more information.
Best regards
Marvin
If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.
Blog: Cloudkumpel
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2