TaskReorder
Reorders the tasks within a task list in the given project. Task will be reordered in-between two tasks based on the before and after task IDs.
Procedure-Specific Information
An example query for executing this stored procedure is shown below:EXEC TaskReorder PortalId = '12345317133', ProjectId = '123456000000031899', TaskId = '123456000000034053', Before = '123456000000031932', After = '123456000000031941'
Input
| Name | Type | Required | Description |
| PortalId | Long | True | Specify the portal ID. |
| ProjectId | Long | True | Specify the project ID. |
| TaskId | Long | True | Specify the Task ID. |
| Before | Long | False | Specify the the ID of the task before which this task should be placed. Provide only one of before, after, or position.. |
| After | Long | False | Specify the the ID of the task after which this task should be placed. Provide only one of before, after, or position. |
| Position | String | False | Specify the relative placement of the task within the task list. Ignored if before or after is specified.
The allowed values are first, last. |
Result Set Columns
| Name | Type | Description |
| Success | String | Specifies whether the update was successful. |