Updates the finish date of a completed workflow task. Use this to retroactively correct a task’s recorded completion date when the original timestamp was inaccurate.
This operation only applies to already-completed tasks. To change the due date of an active task, use ChangeTaskDueDate.
/srv.asmx/UpdateTaskFinishDate
/srv.asmx/UpdateTaskFinishDate?authenticationTicket=...&taskId=...&finishDate=.../srv.asmx/UpdateTaskFinishDate (form data)http://tempuri.org/UpdateTaskFinishDate| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
taskId |
integer | Yes | Unique numeric ID of the completed task to update. |
finishDate |
DateTime | Yes | New finish date to record for the task. Recommended format: yyyy-MM-ddTHH:mm:ss. |
<root success="true" />
<root success="false" error="Access Denied" />
The calling user must be either:
Anonymous access is not permitted.
Only completed tasks can have their finish date updated:
| Status | Allowed |
|---|---|
Completed |
Yes |
InProgress |
No |
DueDateChanged |
No |
NotStarted |
No |
Dropped |
No |
Reassigned |
No |
GET /srv.asmx/UpdateTaskFinishDate
?authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
&taskId=4812
&finishDate=2024-04-10T14:30:00
HTTP/1.1
Host: yourserver
POST /srv.asmx/UpdateTaskFinishDate HTTP/1.1
Host: yourserver
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c&taskId=4812&finishDate=2024-04-10T14%3A30%3A00
finishDate is in the past or future.| Error | Description |
|---|---|
[900] |
Authentication failed -“ invalid credentials. |
[901] |
Session expired or invalid authentication ticket. |
| Task not found | No task with the specified taskId exists. |
| Access Denied | Calling user is not the task assignee with Change Finish Date permission, or a supervisor. |
| Task not completed | The task is not in Completed state. |