Assign machine role
rillsoft_task_machine_role_assignment_setAssign machine roles from master data to a task or remove them by setting quantity to 0. Supports resource planning with one undo step.
Instructions
Assigns a machine role from the existing master data to a task, or removes it again with quantity 0. The twin of rillsoft_task_role_assignment_set for the machine park; one undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | Yes | how many machines of this machine role; 0 removes the assignment | |
| taskUuid | Yes | UUID of the task | |
| utilization | No | utilization greater than 0 up to 1 (defaults to 1) | |
| machineRoleId | Yes | id of the machine role from rillsoft_resource_pool_catalog_list |
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 | |
| machineRoleAssignments | Yes | the assignments of the task after the change |