cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SamPo
Level 10

Update Project Online Task

Hi,

 

Posting again about this to hopefully get some new responses.

 

I'm trying to update Project Online tasks via API. 

The Project Online Connecter does not include an option to update values for a project or project tasks so is not relevant here.

 

The flow I've built for now looks like this:

 

2019-05-05_1004.png

 

The first checks out the project, then updates the task and finally checks the project back in

The issue is that the 'update task' does not actually update the task, all the previous values remain the same.

 

This is the response I get from the 'Update Task'
2019-05-05_1023.png

Any advise would be greatly appreciated!

Thanks,

Sam

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Update Project Online Task

Hi @SamPo,

 

I just managed to create a Flow that is able to update a task name. I am using the following actions.

 

1. CheckOut project

checkoutproject.png

 

2. Update single task

updateprojecttask.png

3. Publish project

publishproject.png

 

Hope this helps?

View solution in original post

6 REPLIES 6
Community Support Team
Community Support Team

Re: Update Project Online Task

Hi @SamPo ,

 

I have seen a blog on how to update a SharePoint list item using Send an HTTP request to SharePoint:

https://veenstra.me.uk/2018/07/02/microsoft-flow-update-a-list-item-with-a-people-field-using-rest-a...

 

Further, please vote the similar request at here:

https://powerusers.microsoft.com/t5/Flow-Ideas/Update-Resource-Project-onlline/idi-p/194089?advanced...

 

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.
SamPo
Level 10

Re: Update Project Online Task

@v-yamao-msft I don't think this is relevant for Project online data.

When I tried using the 'update item' activity this list I got the response of "This list is currently being managed by Project Web App, and cannot be edited directly". See my other post here for more details: https://powerusers.microsoft.com/t5/Connecting-To-Data/Update-Project-Online-Tasks/m-p/276032#M5222

 

In the meantime when trying the option in that blog post I get a response of "resource not found"

https://www.screencast.com/t/ChTayIGR

 

I also found this example list on Github https://github.com/OfficeDev/Project-Samples which is where I copied the details in the screenshot of my original post.

It seems this is the most promising option but assuming either the structure of the body or headers of my request are incorrect.

 

Sam

 

Re: Update Project Online Task

Hi @SamPo,

 

I just managed to create a Flow that is able to update a task name. I am using the following actions.

 

1. CheckOut project

checkoutproject.png

 

2. Update single task

updateprojecttask.png

3. Publish project

publishproject.png

 

Hope this helps?

View solution in original post

DougMyers
Level: Powered On

Re: Update Project Online Task

I've been working with this thread all day to try to update a task date.  I can do the Name, but not StartDate.  (I tried FinishDate too.)  Here's my condensed screen shot:

 

Capture 2.PNG

 

Is there something special about updating dates?

elizi
Level: Powered On

Re: Update Project Online Task

Hi @DougMyers ,

 

In order to update the Start date field, you may use this syntax:

 

image.png

 

Highlighted
DougMyers
Level: Powered On

Re: Update Project Online Task

Perfect!  Many thanks.

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (4,070)