cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Use input in Forms as bucket name, and create new task in Planner under the right bucket

I have created the form in Forms and buckets in Planner:

 

In the form:

     1. Select the Plan:

         o Plan A

         o Plan B

         o Plan C

 

In the Planner, buckets are:

         Plan A                 Plan B                  Plan C

 

In the Flow:

         Create a Task:

             Plan Id: ---

             Title: ---

             Bucket Id: (I selected "Select the Plan:", and it does not work. I figured that the input needs to be the Id instead of name, but I do not know how to do that)

 

I would like the flow to take the input and create new task under the corresponding bucket.

Thank you very much for the help!

 

Best.

8 REPLIES 8
Super User
Super User

Re: Use input in Forms as bucket name, and create new task in Planner under the right bucket

The Microsoft Forms connector is fairly limited. You'd have to likely created an array from the List of response notifications to create variables for the Planner Create/Update actions. The start of your Flow could look something like this:ListAllResponses.PNG

You'd then create variables from the list of responses to possibly pass through to the Planner actions. Or, you could creat a SharePoint List for each response, and query the List for the Planner create/update tasks. This template, Add a SharePoint item and post message to Team on Microsoft Form submission is a good start. 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Anonymous
Not applicable

Re: Use input in Forms as bucket name, and create new task in Planner under the right bucket

Those steps are already set up. I am now trying to create a task in the "Apply to each" box

Anonymous
Not applicable

Re: Use input in Forms as bucket name, and create new task in Planner under the right bucket

1.PNG2.PNGCapture.PNG

Super User
Super User

Re: Use input in Forms as bucket name, and create new task in Planner under the right bucket

Move the List buckets step outside of the Apply to each, then you could put the ID from the List buckets step into the Bucket Id form of the Create a task step. Even if this doesn't fix it, it will greatly improve the overall performance of your Flow. Do not put anything in an apply to each loop that does not need to be in it.

If you expand/show what is in the Variable and the Compose 2 steps, we could likely assist further. You may also want to review this How to Avoid Do-Until Loops and Improve Performance blog post.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Anonymous
Not applicable

Re: Use input in Forms as bucket name, and create new task in Planner under the right bucket

Thank you for the suggestion, I'll make the change.


I want to dynamically set which bucket to put each task in, so getting a list of bucket IDs would not help automatically decide which ID string to put into the "Bucket Id".

 

There's a similar problem posted in 2017 and was unsolved:

https://powerusers.microsoft.com/t5/Building-Flows/Dynamically-specify-Planner-plan-and-buckets-usin...

 

Thank you for the help!

 

Best.

Super User
Super User

Re: Use input in Forms as bucket name, and create new task in Planner under the right bucket

You could run parallel branches with conditions for each Planner Bucket, and determine the Bucket based upon keywords or responses from within the form. Example:FormsCreateTaskParallelBucket.PNG

If the condition passes, create the Task in the desired Bucket and if the the condition doesn't pass, do nothing.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Anonymous
Not applicable

Re: Use input in Forms as bucket name, and create new task in Planner under the right bucket

I'll try that out! Thank you!

Daryn
New Member

Re: Use input in Forms as bucket name, and create new task in Planner under the right bucket

@AnonymousHow did you go with this? I'm trying to do exactly the same thing - if you've already solved this it will save me some time!

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,787)