Reorder elements
rillsoft_project_sortReorders project, subproject, or portfolio elements by dependencies, start time, number, code, or name, reassigning WBS codes only; task numbers stay unchanged.
Instructions
Reorders the elements of the project - the same ordering function as the 'Order by ...' menu. What gets reassigned are the WBS codes; task numbers stay untouched (use rillsoft_project_renumber for those). It acts on the main project and on every subproject; in a portfolio on the portfolio and every project, as the menu does. One undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| criterion | Yes | ordering criterion; matches the 'Order by ...' menu |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wbs | Yes | WBS code | |
| name | Yes | name | |
| uuid | Yes | UUID of the element | |
| start | Yes | start, DD.MM.YYYY hh:mm | |
| finish | Yes | finish, DD.MM.YYYY hh:mm | |
| number | Yes | number of the element; unique even for split tasks | |
| criterion | Yes | ordering criterion that was applied |