It's all about the answers!

Ask a question

Adding restrictions in Parent-Child workitem workflow using RTC 4.0.1


Rajat Singh (59833442) | 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 (55.8k23642) | 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.