It's all about the answers!

Ask a question

Adding restrictions in Parent-Child workitem workflow using RTC 4.0.1


Rajat Singh (59833545) | asked Feb 16 '13, 1:26 a.m.
Hi Team

In RTC 4.0.1, we have designed a workflow using parent child relationship.
Currently I am looking for an option where I can restrict the parent workitem to move to the next state until the child workitem has moved to a certain state.
Similarly the child workitem should not move further, until the status of parent workitem is in a desired state.

Best Regards
Rajat

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Feb 16 '13, 5:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You would have to create an advisor for that http://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ is a good start, even if it is a participant. http://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/ is an advisor. There are small differences between the two and the posts talk about them. You can however use the most part of the code in both. In addition the first post has a link to the wiki showing the operation IDs you want work item save.

The blog also shows example code for dealing with work item workflows.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.