Prerequisites
- Gantt version 2.7.0 or later
- A Dependency Role already configured in the widget parameters (see Create and Configure Dependency Links)
Step 1 — Enable Advanced Dependencies
Open Project / Repository Administration > Configuration Properties and add:Step 2 — Hide the Metadata Field
When advanced dependency types are enabled, the Gantt stores type and lag information in a custom field calledgantt_dependency_metadata. End users should not see or edit this field directly.
- Open Administration > Form Configuration for the relevant work item types.
- Locate the
gantt_dependency_metadatafield. - Mark it as hidden so it does not appear on work item forms.
Step 3 — Map Dependency Types to Link Roles (Optional)
By default, all four dependency types share the same Polarion link role. If your project requires separate link roles for each type, add the following to Configuration Properties:Dependency Types Reference
| Type | Code | Constraint |
|---|---|---|
| Finish-to-Start (FS) | 0 | Target cannot start before source ends |
| Start-to-Start (SS) | 1 | Target cannot start before source starts |
| Finish-to-Finish (FF) | 2 | Target cannot end before source ends |
| Start-to-Finish (SF) | 3 | Target cannot end before source starts |
Step 4 — Create a Dependency Link with a Specific Type
- Enter Edit mode on the Gantt chart.
- Drag from the link circle on one task bar to another task bar to create a dependency link.
- The dependency type is assigned based on which edge (start or end) you drag from and drop onto.
Step 5 — Identify Constraint Violations
When a dependency constraint is violated — for example, a Start-to-Finish link where the target task ends before the source task starts — the Gantt displays a red dotted line beneath the incorrectly positioned task bar. To resolve the violation, drag the affected task bar so its dates satisfy the dependency constraint.Verification
You should now see:- Dependency arrows drawn between tasks reflecting the specific type (FS, SS, FF, or SF)
- The link type preserved when you save and reload the Gantt chart
- Red dotted violation indicators appearing when a task position violates its dependency constraint
See Also
- Create and Configure Dependency Links
- Configure Link Lag and Delay
- Dependency Metadata Storage
- Configure Auto-Scheduling
Sources
Sources
KB ArticlesSupport TicketsSource Code
prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/Data.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/Link.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/types/TypeConfigWidgetParameters.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/WorkItemsGanttWidget.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/IGanttDataService.java