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
Highlighted
Super User II
Super User II

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!

Highlighted
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

Highlighted
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 II
Super User II

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!

Highlighted
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.

Highlighted
Super User II
Super User II

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!

Highlighted
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!

Highlighted
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
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (5,453)