Create dependency
rillsoft_task_dependency_createCreates a task dependency between two existing tasks, so Rillsoft Project recalculates dates from the link. Use it to define predecessor-successor relationships without creating or moving tasks.
Instructions
Creates a dependency between two tasks. It links existing tasks; it does not create them, and it does not move them - RP computes the new dates from the link. Removing it again goes through rillsoft_task_dependency_delete. In a portfolio, as in the user interface: across the project boundary a file portfolio refuses the dependency; a portfolio of the Integration Server creates it on the server as a RIS link (finish-start, start-start, finish-finish or start-finish with an absolute lag). One undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | finish_start is the default: the successor begins once the predecessor is done, and a distance in between is allowed. Use finish_start_no_delay only where the successor has to follow immediately with no delay at all. Besides those: start_start (both begin together), finish_finish (both end together) and start_finish (the successor ends when the predecessor begins) | finish_start |
| successorUuid | Yes | UUID of the successor | |
| predecessorUuid | Yes | UUID of the predecessor | |
| dependencyDistanceType | No | absolute (the default) counts plain time, calendar counts calendar time, relative counts a share of the task duration | absolute |
| dependencyDistanceHours | No | distance in hours (with dependencyDistanceType absolute or calendar) respectively a share (relative) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | kind of the created dependency; finish_start is the default | |
| successorUuid | Yes | UUID of the successor | |
| predecessorUuid | Yes | UUID of the predecessor |