UiPath Documentation
activities
latest
false

Productivity activities

UpdateTask

Updates an existing task with the specified values.

Namespace: UiPath.GSuite.Activities.API

Assembly: UiPath.GSuite.Activities.API (in UiPath.GSuite.Activities.API.dll)

Syntax

ITask UpdateTask(
	ITask task,
	string newTitle = null,
	string newDescription = null,
	DateTime? newDueDate = null,
	GTaskStatus? newStatus = null
)
ITask UpdateTask(
	ITask task,
	string newTitle = null,
	string newDescription = null,
	DateTime? newDueDate = null,
	GTaskStatus? newStatus = null
)

Parameters

task ITask : The task to update.

newTitle String (Optional) : The new title for the task. If null, the current title is kept.

newDescription String (Optional) : The new description for the task. If null, the current description is kept.

newDueDate DateTime? (Optional) : The new due date for the task. If null, the current due date is kept.

newStatus GTaskStatus? (Optional) : The new status for the task. If null, the current status is kept.

Return value

ITask - The updated task.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated