Changes the due date and the allowed start time span of an active workflow task. The new due date must be in the future. The task’s reminder date, supervisor notification date, and allowed start date are all recalculated automatically based on the new due date.
The task must be in InProgress or DueDateChanged status -“ the due date cannot be changed on tasks that have not yet started, or that are already completed, dropped, or reassigned.
/srv.asmx/ChangeTaskDueDate
/srv.asmx/ChangeTaskDueDate?authenticationTicket=...&taskId=...&newDueDate=...&allowedStartTimeSpan=.../srv.asmx/ChangeTaskDueDate (form data)http://tempuri.org/ChangeTaskDueDate| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
taskId |
integer | Yes | The ID of the task to update. Task IDs are returned by getTasks and GetTask. |
newDueDate |
datetime | Yes | The new due date and time for the task. Must be a future date/time. Recommended format: yyyy-MM-ddTHH:mm:ss (e.g. 2026-03-15T17:00:00). |
allowedStartTimeSpan |
integer | Yes | Number of hours before the new due date during which the assignee is allowed to start the task. Pass 0 to remove the allowed-start restriction. |
<root success="true" />
<root success="false" error="[901] Session expired or Invalid ticket" />
The calling user must satisfy one of the following conditions:
GET /srv.asmx/ChangeTaskDueDate
?authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
&taskId=8821
&newDueDate=2026-03-15T17:00:00
&allowedStartTimeSpan=24
HTTP/1.1
Host: yourserver
POST /srv.asmx/ChangeTaskDueDate HTTP/1.1
Host: yourserver
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c&taskId=8821&newDueDate=2026-03-15T17:00:00&allowedStartTimeSpan=24
<root success="true" />
newDueDate must be a future date/time relative to the server clock. Passing a past date/time returns an error.DueDateChanged (20).newDueDate -' reminderTimeSpan hours (if a reminder was configured).newDueDate.newDueDate -' allowedStartTimeSpan hours (or cleared if allowedStartTimeSpan is 0).allowedStartTimeSpan is in hours. Setting it to 0 removes the allowed-start restriction -“ the assignee can start the task at any time.GetTask to retrieve a task’s current taskId, status, and assignee before calling this API.| Error | Description |
|---|---|
[900] |
Authentication failed -“ invalid credentials. |
[901] |
Session expired or invalid authentication ticket. |
| Task not active | The task is not in InProgress or DueDateChanged status. Due date can only be changed on active tasks. |
| Due date in the past | newDueDate is earlier than the current server date/time. |
| Access denied | The calling user is not the assignee with postpone permission, and is not a workflow supervisor for this task. |
| Task not found | No task with the given taskId exists or the calling user does not have access to it. |