cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tyson
Frequent Visitor

Creating Planner using SharePoint list

Hi Team,

 

I hope everyone's doing good.

I have been struggling to achieve this for the past couple of days. Tried looking at online resources but didn't help me much.

I have a SharePoint list which I would be adding and updating on a regular basis. Based on the added and updated value I would like a Planner to be created. I have developed a Flow but it gives me weird results. For example, I want a bucket to be created if a particular value is not present and if present then creates a task within it. 

 

This is how my flow looks. Any help would be appreciated!

 

Tyson_0-1610599219331.png

 

Tyson_1-1610599310640.png

 

 

Even when there is an existing bucket it created a duplicate bucket. 

 

Regards

 

 

9 REPLIES 9
miketran13
Solution Specialist
Solution Specialist

Hi Tyson,

I could not see your images. But are you using the Power Automate Desktop or Cloud Flows? if you are using Cloud Flows then you are in the wrong area. 

I dont see you images so that I can't have a proper solution. However, I can give you some ideas if applicable:

- Check your conditions when creating new bucket, is that everything correct ? 

- Are there anyway for you to verify that the bucket is created or not ? If you can verify then you can add another steps for verifying it before creating it.

- You can store the transaction when a new bucket is created somewhere and then you can look up into that and check if it is existed or not when creating new bucket

 

Regards,

Mike

Tyson
Frequent Visitor

Hey Mike,

 

Thanks for your prompt response, I am using Powerautomate desktop. I think the problem is within the if condition when I try comparing the Filter Array function. For some reason, it compares two different values and then create copies of identical buckets. If you would have seen the image then it would make more sense.

 

I tried creating buckets and it worked fine.

 

 

Regrds

Tyson

miketran13
Solution Specialist
Solution Specialist

Great to hear that Tyson, 

 

I am simply curious about your process, since if you just need to create Planner from SharePoint List. It is better to just use Cloud Flow and it is an simpler solution and license.

 

Regards,

Mike

Tyson
Frequent Visitor

Could you please let me know how it can be obtained using Cloud flow?

miketran13
Solution Specialist
Solution Specialist

Hi Tyson,

 

Since it is not easy for posting all the steps here. So, I posted an easy guide on Medium. 

https://miketran13.medium.com/create-planner-task-from-a-sharepoint-list-with-power-automate-cloud-f...

Hope it can help you.

 

Regards,

Mike

 

-------------------

Did I answer your question? Please consider to Mark
my post as a solution! to guide others

Tyson
Frequent Visitor

Hi Mike,

 

 

This does not answer my query. The flow I developed is more complex. The example that you sent only creates a task. In my case, I would like to create a bucket, but if the same bucket existed then create a task within it rather than creating a bucket. The task is really simple but I think I am just complicating my flow!!

miketran13
Solution Specialist
Solution Specialist

Hi Tyson,

 

I was not able to see the pictures you added in the first thread, now I could see it.

Please see the image I attached in below. This condition worked well for me, it does check the bucket by name is existed or not. If not, then it creates a new bucket.

spflow.png

Thanks and hope it help you !

Mike

 

---------------------------------

Did I answer your question? Please consider to Mark my post as a solution! to guide others

Tyson
Frequent Visitor

Hey Mike, 

 

thanks for responding. I tried using it, I am now getting a duplicate bucket. So if I 4 values in a planner and then I add a new one in SP, it compares all four values and then creates 4 redundant values in Planner. 

 

Please refer to the attached SS.

 

Tyson_0-1610851700187.png

 

miketran13
Solution Specialist
Solution Specialist

Hi Tyson,

 

I think that I forgot to tell you the last step. Inside my loop for checking the existence of the bucket, I just added only the Set Variable action there, I did not have any steps for creating new bucket.

The step for creating new bucket is outside of the loop so that it will only create one time.

loop.png

Thanks and hope it can help you. 

Mike

---------------------------------

Did I answer your question? Please consider to Mark my post as a solution! to guide others

 

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,281)