Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How do you set a prerequisite for state change in a custom workflow?

 I am creating a custom workflow for an RTC project, and would like to configure it so that moving a parent work item to the next status requires all the child work items to be resolved first. Is this possible? Can I configure it using one of the clients, or would custom code be required?

0 votes


Accepted answer

Permanent link
Hi Ralph,

you would need a custom precondition to be written.  OOTB you can control when a parent work item can be marked resolved based on state of its children but not the state transition to other (non-resolve) states.

here are some earlier posts on similar requirement:
https://jazz.net/forum/questions/94059/getting-the-state-of-the-child-workitem
https://jazz.net/forum/questions/118986/can-a-work-item-state-be-changed-depending-on-the-child-work-items-state

and writing an operation participant is the way ahead, here is a workshop to help you with it:
https://jazz.net/library/content/articles/rtc/4.0/extensions-workshop/downloads/RTC40ExtPoT.pdf

hope this helps
Ralph Earle selected this answer as the correct answer

1 vote


One other answer

Permanent link
I think this can be a pre-condition on Save Work Item Team Operation Behavior..  All Children Resolved.  Described as: Requires that a work item can only be resolved if all of its children are resolved.



0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,163

Question asked: Oct 15 '13, 11:57 a.m.

Question was seen: 6,038 times

Last updated: Oct 15 '13, 3:55 p.m.

Confirmation Cancel Confirm