Skip to main content
Solved

Why are milestone dependencies not preventing out-of-order completion in my project setup?

  • May 17, 2024
  • 3 replies
  • 113 views

Forum|alt.badge.img+1

I am creating a project template in which i added 5 milestones. I have given the dependency for milestones as predecessors and successors. Still it allowed me to complete the milestone 3 before I completed milestone 2. How to put restriction? Do i need to write workflow rule? Then what is the use of setting dependency in workplan?

Best answer by DrewMiddleton

Hi Deepti,

You could write a validation rule to prevent changes to state/percent complete on items that are not yet tagged as “executable.” The Executable field gets updated automatically when all of a work item’s predecessors are complete.

This topic has been closed for replies.

3 replies

Limori
Planview Falcons
Forum|alt.badge.img+4
  • Planview Falcons
  • May 30, 2024

Hi Deepti

The dependencies allow the system to schedule your work items in the applicable sequence (provided that you did not manually set start and/or due dates of those milestones) as part of your planning process.

The system however does not prevent you from completing work items (or milestones in your case) before hand. The system will indicate though that you’re off track with the milestone that was due to be completed in the past.

I hope this helped answering your question.


DrewMiddleton
Planview Partner
Forum|alt.badge.img+2
  • Planview Partner
  • Answer
  • May 31, 2024

Hi Deepti,

You could write a validation rule to prevent changes to state/percent complete on items that are not yet tagged as “executable.” The Executable field gets updated automatically when all of a work item’s predecessors are complete.


Forum|alt.badge.img+1
  • Author
  • Platinum Innovator
  • August 21, 2024

I tried to write a validation rule on work item as below:

 

Evaluation criteria -

$EntityType = task && $Executable = false && Ischanged($State) && $State =‘Completed’

 

Message: You can’t complete this item. Make sure all preseasons are completed.

 

But this validation error is popping up even when I can see a milestone/task is Executable e.g. my first milestone and tasks are executable as they don’t have a predessor.