cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Impactful Individual
Impactful Individual

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
Highlighted
Resolver I
Resolver I

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

11 REPLIES 11
Highlighted
Community Support
Community Support

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.
Highlighted
Impactful Individual
Impactful Individual

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

 

Highlighted
Resolver I
Resolver I

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

Highlighted
Helper I
Helper I

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?

Highlighted
Frequent Visitor

Re: Update Project Online Task

Hi @DougMyers ,

 

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

 

image.png

 

Highlighted
Helper I
Helper I

Re: Update Project Online Task

Perfect!  Many thanks.

Highlighted
New Member

Re: Update Project Online Task Custom field

Hi,

 

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

 

I created new custom field in Project Online task and I tried to update value for a Project task column with flow,

 

Can you please help me out.

 

Thanks,

Highlighted
Regular Visitor

Re: Update Project Online Task

Hello @Expiscornovus  I tried following same steps, but I am always getting no update in the task.

 

The Output is positive, but no sucess on the update, below is the whole update process that I am following for reference:

Test.png

 

And this is the output of the test:

Output.png

 

Regards.

Highlighted
Regular Visitor

Re: Update Project Online Task

Hello @elizi I created an flow to update the same field, the output is positive but nothing happens with the task.

 

This is the input I am following:

In.png

This is the output flow is giving me:

Ou.png

Highlighted
New Member

Re: Update Project Online Task

Hi @Lucas, I'm facing the same challenge here. Can anyone help us?

Highlighted
Frequent Visitor

Re: Update Project Online Task

Hey @LucasSousa286 ,

 

try the below:

 

1. make a get call to get your task details - if the task exists try the next:

2. add a "compose" connector and insert the task ID there , than insert the compose dynamic value instead the task ID directly into the URL.

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
Users online (7,731)