Forum Discussion
Wrong Bucket Name
Hi Guys,
I posted this in another community but nobody answered me yet that's why I'm posting over here. I'm having some issues on a specific workflow that updates a list on SharePoint.
This is my scenario: I have a plan on Planner called New Hire that contains 4 bucket list and each bucket contains a couple tasks attached to it.
I have two workflows that function behind the scenes.
1o - If a new task is created, an item is created on the SharePoint List.
2o - If a task is completed, an item from the list is updated through a workflow.
Although everything is working fine, I noticed an issue! Every time the second workflow updates an item from the list, it gets the wrong bucket name from Planner. It always gets the first bucket name. In the following example, you will see that the title should be Departmental Orientation which is the second bucket list name but the workflow is getting the first bucket name which is HR Orientation.
Does anyone know how I could get the exact bucket name I am looking for? Thanks!
Any thoughts? Thanks!
- Can you share how are you getting the bucket name in the Flow? The problem is in the Flow and the actions you have to get info. from Planner...basically when you detect a new Task is added / completed, you will need to query the Bucket the Task it belongs to and for this you might need to make a Graph API request
- Rafael BenicioBrass Contributor
Thank you, Juan, for replying to my post.
Here are some screenshots from the workflow.
- I think your problem is with the List buckest action...what you need is to get the bucked Id of the task that has been added / completed