It's all about the answers!

Ask a question

Looking for a piece of code about WIs


Jose Miguel Ordax Cassa (2.4k2126100) | asked Nov 30 '09, 11:08 a.m.
Anybody can share a piece of code to get the value of the state of a WI
after it has been saved:

public void run(AdvisableOperation operation,
IProcessConfigurationElement participantConfig,
IParticipantInfoCollector collector, IProgressMonitor monitor) throws
TeamRepositoryException;

or after its state has been changed:

public void handleEvent(IChangeEvent event, IProcessConfigurationElement
handlerConfiguration) throws TeamRepositoryException;

Thanks in advance,

Chemi.

2 answers



permanent link
Jean-Michel Lemieux (2.5k11) | answered Dec 01 '09, 6:44 a.m.
JAZZ DEVELOPER
I've created a series of videos on how to extend RTC on the server, the actual example checks a work item in a pre-condition and fails the work item save if the word "fail" appears in the summary. This is a good starter example, the source is attached to the wiki page.

https://jazz.net/wiki/bin/view/Main/RTCSDK20_ProcessPreConditionExample

Cheers,
Jean-Michel

permanent link
Jose Miguel Ordax Cassa (2.4k2126100) | answered Dec 01 '09, 7:23 a.m.
On 01-Dec-09 12:53 PM, jlemieux wrote:
I've created a series of videos on how to extend RTC on the server,
the actual example checks a work item in a pre-condition and fails
the work item save if the word "fail" appears in the
summary. This is a good starter example, the source is attached to
the wiki page.

https://jazz.net/wiki/bin/view/Main/RTCSDK20_ProcessPreConditionExample

Cheers,
Jean-Michel


Thanks, I didn't see you attached also the source code... and I was
messing up with other sources from RTC. :-)

Your answer


Register or to post your answer.