How do you set a prerequisite for state change in a custom workflow?
Accepted answer
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
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