cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver II
Resolver II

Planner Connector , cannot update task in plan that is shared with me.

Hello All, 

 

I have created an App that on start creates a series of planner tasks and automatically shares the plan with the users manager, using a combination of both the office365groups connector and the office365users connector.

 

The Manager can see their direct reports plan by using the planner connector function "Planner.ListMyPlans().value".
However I want to allow the Manager to update tasks in the plan also, but when using "Planner.UpdateTask(TaskListGallery.Selected.id,{percentComplete:"Completed"})" I recieve this error:

 

2019-05-17 10_29_00-Window.png

 

I have tried making the manager a Owner of the office365 group connected to the plan, but this has not resolved the issue.
I have also tested and the manager can directly edit the direct reports planner tasks through the planner website. (So it's not a permission issue in planner at least).

I have a feeling that the connector and function Planner.UpdateTask just does not allow you to update a task unless you are the creator of the plan, regardless if it has been shared with you later.

 

If anyone is able to validate/replicate this issue please let me know.

3 REPLIES 3
Highlighted
Anonymous
Not applicable

Re: Planner Connector , cannot update task in plan that is shared with me.

Hi @SamPhillips I'm going to bump this to page 1 so the fresh eyes of the community can take a look 

 

@Anonymous 

Highlighted
New Member

Re: Planner Connector , cannot update task in plan that is shared with me.

Hi,

 

You need to use: Planner.UpdateTask(TaskListGallery.Selected.id,{percentComplete:100})... 

0     -> Not started

50   -> In Progress

100->Completed

Highlighted
New Member

Re: Planner Connector , cannot update task in plan that is shared with me.

This is the correct way.

First you need to put in any variable the progress like Planner has, including capital letters:

No Started

In Progress

Completed

 

You  need to use a variable and for this case would be: wkStatus =' "Completed" ' , in case you have combo box you need to use Trim(wkStatus). 

You need to use: Planner.UpdateTask(TaskListGallery.Selected.id,{percentComplete:Trim(wkStatus)})... 

Sorry for my previous post!!

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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