About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Welcome to the Jazz Community Forum
Triggering an external program on a state change

I'm looking for assistance in triggering an external java program (with parameters) when a work item is saved and the state changes to a specific state. This java program needs to take one (or more) String values that would be passed from the work item itself.
It looks like perhaps I need a follow-up action but I have never done any extension points at all with RTC, so I feel somewhat totally lost :-)
I can easily write the java program that takes the String arguments and does the work, but have no idea where to start to get this java program called with the String arguments when this state change occurs.
Can anyone help?
Susan Hanson
It looks like perhaps I need a follow-up action but I have never done any extension points at all with RTC, so I feel somewhat totally lost :-)
I can easily write the java program that takes the String arguments and does the work, but have no idea where to start to get this java program called with the String arguments when this state change occurs.
Can anyone help?
Susan Hanson
One answer

You might find this wiki article useful:
https://jazz.net/wiki/bin/view/Main/PreconditionFollowupCreation
There is also a tutorial on creating a precondition advisor for RTC 2.x, which is a little different from what you want to do (since you want to create a follow-up action, and I assume it would be for RTC 3.x), but it illustrates the mechanics of deploying a server extension that might be helpful.
https://jazz.net/library/article/495
https://jazz.net/wiki/bin/view/Main/PreconditionFollowupCreation
There is also a tutorial on creating a precondition advisor for RTC 2.x, which is a little different from what you want to do (since you want to create a follow-up action, and I assume it would be for RTC 3.x), but it illustrates the mechanics of deploying a server extension that might be helpful.
https://jazz.net/library/article/495