Take resources off tasks
rillsoft_task_resource_assignment_removeRemove employees or machines from multiple tasks in one undoable step. Started tasks split at their progress; completed tasks stay untouched and are listed as skipped.
Instructions
The 'Remove staff' respectively 'Remove machine park' wizard: takes the named resources out of many tasks at once - one undo step. A task already begun is split at its progress first, and the completed part keeps its assignment. Completed tasks stay untouched and appear with the cause in skipped[].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | resource type; employee by default. Here resource covers exactly these two - an assistant works on concrete people and machines. The other four resource types (role, team, material, machine_role) are read and written through rillsoft_resource_usage_list and rillsoft_resource_usage_set | employee |
| taskUuids | No | UUIDs of the tasks; empty means every eligible task of the visible project or subproject | |
| resourceIds | Yes | ids of the resources to take out; at least one |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | resource type | |
| tasks | Yes | the tasks that were changed | |
| skipped | Yes | skipped tasks with the cause | |
| processed | Yes | number of tasks processed |