cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joesparty_ro
Level: Power Up

Automate new plan and tasks based of variables

Hello,

 

My goal is to create a plan with 23 new tasks based on 2 variables; name and date.

  • Is it not possible to create a new plan dynamically?
  • For each task how can I create them if the plan is going to change each time? Currently, I can select a group_id, but I want to avoid having to do that 22 more times.
  • I am trying to create a variable to enter a future date, how could I modify this? formatDateTime(utcNow(),'MM/dd hh:mm tt').  I want to type in a value, like '2020-02-15'
  • For each task how can I create a due date based on the excel function WORKDAY? I will be using the final date variable to subtract by workdays to calculate the due date.
 

 

I've been able to create new tasks using the existing flow below as my start.  I haven't been able to pass the name or date variables into the create tasks.

Image 4.png

 

Cheers,

-Joe

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Automate new plan and tasks based of variables

Hi @joesparty_ro ,

 

For your first question , you could create a new plan dynamically.

For your second question, if you want to avoid having to add the "Create a new plan" 22 more times, you could consider modify the flow and then run the flow 22 times, or you could create an array for the task.

For your third question, the expression should as below:

formatDateTime(utcNow(),'yyyy-MM-dd')

 For your forth question, could you please explain more details about the requirement?

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Automate new plan and tasks based of variables

Hi @joesparty_ro ,

 

For your first question , you could create a new plan dynamically.

For your second question, if you want to avoid having to add the "Create a new plan" 22 more times, you could consider modify the flow and then run the flow 22 times, or you could create an array for the task.

For your third question, the expression should as below:

formatDateTime(utcNow(),'yyyy-MM-dd')

 For your forth question, could you please explain more details about the requirement?

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,838)