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

Highlighted
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

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

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

Top Solution Authors
Top Kudoed Authors
Users online (6,518)