cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

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