cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

MS Project Online create Project and Add Task in same flow

Hi all,

 

I'm trying to build a flow which creates a new Project in MS Project Online (Creates new Project), then creates a task in the Project (Creates new Task). This shoud happen in the same flow. The trigger is adding a new item to a Sharepoint List, which contains all necessary info. 

 

Flow working fine up until the task has to be created in the newly created Project. My issue is deriving the site URL of the Project (which is required to check-out the Project, then create the task, as part of 'Creates new Task') when it's only been created in the same flow.

 

Is there a way to obtain this URL using an expression, or perhaps have a set between creating the project and trying to create the task which extracts it?

 

Thanks in advance for your help.

Nick

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: MS Project Online create Project and Add Task in same flow

Hi @NGT1 ,

 

Do you want to create tasks under the newly created Project?

 

We are not allowed to create tasks under a Project when it is not checked out.

 

Please try adding action Checkout project before the action Creates new task, then it will work successfully.

 

I have created a flow likes below for your reference:

1.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
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

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: MS Project Online create Project and Add Task in same flow

Hi @NGT1 ,

 

Do you want to create tasks under the newly created Project?

 

We are not allowed to create tasks under a Project when it is not checked out.

 

Please try adding action Checkout project before the action Creates new task, then it will work successfully.

 

I have created a flow likes below for your reference:

1.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
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

Regular Visitor

Re: MS Project Online create Project and Add Task in same flow

Hi Mabel,

Thanks for getting back to me. This solution worked, although I had to put an arbitrary 10 second delay in between Create new Project and Checkout Project.

 

Good to know that the Root Site URL refers to the PWA Homepage, as opposed to the URL of the newly created project. 

 

Many thanks

Nick

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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!

Top Solution Authors
Top Kudoed Authors
Users online (7,402)