Prerequisites
- Nextedy GANTT installed and configured with dependency roles
- Polarion administrator access to edit workflow configurations
- Dependency links already established between work items
How the Condition Works
The Gantt workflow condition checks all work items linked to the transitioning item via specified dependency link roles. If any linked predecessor is not in one of the allowed status states, the workflow transition is blocked.The condition is aware of Gantt dependency types. For forward-link checking, items connected via
start-to-finish or start-to-start dependency types are excluded from the check because they do not need to finish first. Only finish-to-start dependencies are enforced in the forward direction.Step 1: Open the Workflow Configuration
- Navigate to Administration > Work Items > Workflow
- Select the work item type whose workflow you want to modify
- Locate the transition where you want to add the dependency gate
Step 2: Add the Workflow Condition
- Click on the target transition to edit it
- In the Conditions section, add a new condition
- Select the Gantt Dependencies Status Condition from the list of available conditions
Step 3: Configure the Condition Parameters
The condition accepts the following parameters:| Parameter | Type | Required | Description |
|---|---|---|---|
link.roles | String (comma-separated) | At least one of link.roles or back.link.roles | Link role IDs for forward-linked work items to check |
back.link.roles | String (comma-separated) | At least one of link.roles or back.link.roles | Link role IDs for back-linked work items to check |
valid.states | String (comma-separated) | Yes | Work item status IDs that linked items must be in for the condition to pass |
Configuration Example
To require all predecessors (via thedepends_on link role) to be in done or closed status before a work item can move to in_progress:
Step 4: Understand the Forward vs. Backward Check
link.roleschecks items that the current work item links to (forward direction)back.link.roleschecks items that link back to the current work item (reverse direction)
link.roles when your dependency links point from the dependent item to its predecessor. Use back.link.roles when links point from the predecessor to the dependent item.
Verification
You should now see:- When attempting to transition a work item whose predecessors are not in the allowed states, the transition is blocked with a validation message
- When all predecessors meet the status requirements, the transition proceeds normally
- The condition respects dependency type semantics, only enforcing finish-to-start dependencies in the forward check
See Also
- Create and Configure Dependency Links
- Configure Advanced Dependency Types (FS, SS, FF, SF)
- Configure Auto-Scheduling
Sources
Sources
KB Articles
- Customised Working Hours per Resource
- Install Nextedy GANTT
- Setup GANTT that shows Polarion Plans and Work Items
prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/workflow/GanttLinkedWorkItemsStatusCondition.javaprod-gantt-src/com.nextedy.polarion.gantt/src/META-INF/hivemodule.xmlprod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/Rewritten Tests/testGanttCreatePlan.cy.tsprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/instructions.htmlprod-gantt-src/com.nextedy.polarion.gantt.client/src/index.html