It's all about the answers!

Ask a question

check dependent item state before advancing workflow

Suzanne Adams (16179) | asked Nov 08 '12, 10:10 a.m.
We would like to be able to verify that all dependent links are in a closed state before we move a work item to in progress.  is this a recondition that is available out of the box or do we need to create a plug-in to accomplish this?  We are currently using RTC

One answer

permanent link
Geoffrey Clemm (30.0k23035) | answered Nov 08 '12, 7:51 p.m.
You will need to create your own custom process pre-condition for this.
There is an RFE for this: Link type depends on: add Operation Behavior to block save's of WI if child is not close # (182769)
And the good news is that Sam attached some sample code for implementing this pre-condition (thanks, Sam!)

N. Dot commented May 06 '13, 8:56 p.m.

Hi Geoff!  Is there an update to this link?

N. Dot commented May 06 '13, 8:59 p.m.

I would like to set up a dependency where a I have a parent work item (maybe a Story) and it has the following child work items: devTask, buildTask, qaTask, etc..  I want to be able to make sure that the buildTask can not start until the devTask is completed...for example.

N. Dot commented May 06 '13, 9:01 p.m.

FYI, I am running RTC 4.0.1

sam detweiler commented May 07 '13, 7:30 a.m.

you will have to write your own advisor handler to do that check

Your answer

Register or to post your answer.