Is there a way to add RTC plugin code based on the status of child workitems?
2 answers
an Example: https://rsjazz.wordpress.com/2012/11/27/resolve-parent-if-all-children-are-resolved-participant/
Comments
Hi @Ralph, Thanks for your answer but I am looking at a slightly different use case in which during parent work item closure I need to check that specific child work-items with specific attribute value of "Priority" attribute are open or not. If child is/are open, then the parent closure should not be allowed and vice-versa
The example code should give you an idea how to iterate the child work items and the basics how to access attributes. There are other examples showing work item API e.g. https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ . You can search the blog.