It's all about the answers!

Ask a question

RTC Server-side Participant for getting info from a parent workitem


Ryan McFadden (191318) | asked May 09 '18, 4:11 p.m.

I have two different work items that are linked by a Parent/Child relationship.  Our organization wants to have the title of the child WI to be automatically populated with data from both the parent and the child WIs. 

I have created an Advisor plugin to not allow the child to be saved without first establishing the link between the two work items. 

Both the advisor and the participant use the Save Work Item Operation ID: https://jazz.net/wiki/bin/view/Main/CustomPreconditionsTable#operations

I found the following wiki post for an example of creating the server-side participant: https://jazz.net/wiki/bin/view/Main/CustomPreconditionFollowup

I am using the RTC 6.0.3 version of the server-sdk.

My local development server provision status page shows the participant is being loaded. 

I can set a breakpoint in the Advisor class but not the Participant class. 

Also, I was unable to use the code in the wiki post linked above as it was written.  The IAdditionalProcessDataParameter  class does not appear to be in my classpath at compile time. 

Any Ideas of what I might be missing?

2 answers



permanent link
Lukas Steiger (3131628) | answered May 10 '18, 9:18 a.m.

 Hi Ryan


To me, this sounds like you may have an issue with your plugin.xml section for the participant. I would suggest to look at one of Ralph Schoons examples that serve a very similar use case that you are about to solve:
https://rsjazz.wordpress.com/2012/11/27/resolve-parent-if-all-children-are-resolved-participant/

Best Regards
Lukas


Comments
Ryan McFadden commented May 15 '18, 9:31 p.m.

I've reviewed the blog post you reference here. It provides some good information, but I'm unable to download any of the source files that Ralph references in any of the blog posts because they are hosted on dropbox.com, because my company firewall blocks everything from that domain. 


permanent link
Ryan McFadden (191318) | answered May 15 '18, 9:28 p.m.

I hadn't gone into the Project configuration and applied the Follow-Up Action defined my by participant feature project.

Once I applied the follow-up action I'm able to see the code is getting executed. Now to tackle the next problem...

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.