cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Brice235i
Skilled Sharer
Skilled Sharer

Flow to create document set when new Planner task added

Hello, wondering if anyone knows if it's possible to create a new document set in a SharePoint library when a Planner task is created with the same name as the task?

 

Thank you!

3 REPLIES 3
RezaDorrani
Dual Super User II
Dual Super User II

@Brice235i 

 

Use the when a task is created action as trigger for Flow

 

Then to create document set use the send an http request to sharepoint action as shown below

 

Capture.PNG

Uri - change contracts to your library name

 

Slug - change url based on ur site and library

 

Contract Name dynamic content - repalce it with value Title dynamic content - which will be available from the task is created trigger action

 

0x0120d5......

 

This is the content type ID 

go to your library settings

Click on the content type - in the url you will get a param called cttype this will have the content type id

just copy it and add it to the Slug tag at the end after the | symbol

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

 

 

 

 

 

Thank you so much, that is briliant!

Thanks Reza for yet another excellent post to help us in the community.🙂

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (932)