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