# Update Task

> `UiPath.MicrosoftOffice365.Activities.Planner.Tasks.UpdateTask`

`UiPath.MicrosoftOffice365.Activities.Planner.Tasks.UpdateTask`

## Description

Uses the Microsoft Graph [Update task](https://docs.microsoft.com/en-us/graph/api/plannertask-update?view=graph-rest-1.0&tabs=http) API to modify an existing task.

### Scopes

This activity requires any one of the following scopes:

* Tasks.ReadWrite AND User.Read
* Tasks.ReadWrite AND User.ReadWrite
* Tasks.ReadWrite AND User.Read.All
* Tasks.ReadWrite AND User.ReadWrite.All
* Tasks.ReadWrite AND Directory.Read.All
* Tasks.ReadWrite AND Directory.ReadWrite.All
* Group.ReadWrite.All AND User.Read
* Group.ReadWrite.All AND User.ReadWrite
* Group.ReadWrite.All AND User.Read.All
* Group.ReadWrite.All AND User.ReadWrite.All
* Group.ReadWrite.All AND Directory.Read.All
* Group.ReadWrite.All AND Directory.ReadWrite.All

## Project compatibility

Windows - Legacy | Windows

## **Configuration**

**Properties**

#### Common

* **DisplayName** - The display name of the activity. This property supports `String` variables and string formatted values.

#### Input

* **Task** - The PlannerTask object. This field supports only `PlannerTask` variables.

#### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level. This field supports Boolean values.

#### Options

* **Assignees** - The set of assignees the task is assigned to. This field supports only `String[]` variables.
* **Due DateTime** - The date and time at which this task is due. This field supports only `DateTime` variables.
* **Overwrite Assignees** - If selected, existing assignees are removed from the task. This field supports Boolean values. The default value is **False**.
* **Percent Complete** - Percentage of task completion. When set to 100, the task is considered complete. This field supports only integer and `Int32` variables. Valid values are 0-100.
* **Start DateTime** - The date and time at which this task begins. This field supports only `DateTime` variables.
* **Title** - The title of the task. This property supports `String` variables and string formatted values.

#### Output

* **Task** - The updated returned PlannerTask. This field supports only `PlannerTask` variables. Required if you plan to use the output data in subsequent activities. You can also use this variable as an input variable in other Planner activities.
