It's all about the answers!

Ask a question

Action routines in State Machines


Jonathan Belanger (3652) | asked Feb 08 '11, 11:32 a.m.
We have a project to integrate two of our systems (a Product Lifecycle Management (PLM) system and RTC). The integration will be between various work-items in RTC and their equivalent counterparts in the PLM system. The PLM system has to be the system of record for these artifacts, and thus the source for various types of work items (specifically defects, change requests, and enhancement requests). When these work items are in RTC, as their state or contents change, we'd like to be able to "copy" this information from RTC to the PLM system. We also want to create work items RTC when certain conditions exist for these records in the PLM system. One of the things that would help in the RTC system is to have the concept of an action routine associated with all work items or one for each type of work item that would be called when the work item was changed (either state change or other information changed). Does RTC have this kind of functionality? If so, where can I find more information about it? If not, what would it take to add this kind of functionality?

Thanks,

Jon.

One answer



permanent link
Eduardo Bello (4401621) | answered Feb 09 '11, 12:36 p.m.
We have a project to integrate two of our systems (a Product Lifecycle Management (PLM) system and RTC). The integration will be between various work-items in RTC and their equivalent counterparts in the PLM system. The PLM system has to be the system of record for these artifacts, and thus the source for various types of work items (specifically defects, change requests, and enhancement requests). When these work items are in RTC, as their state or contents change, we'd like to be able to "copy" this information from RTC to the PLM system. We also want to create work items RTC when certain conditions exist for these records in the PLM system.


Hi,

I've never worked with PLM, so my help here will be mostly conceptual. One thing that might help you is "Connectors", see more info at https://jazz.net/wiki/bin/view/Main/ConnectorOverview.


One of the things that would help in the RTC system is to have the concept of an action routine associated with all work items or one for each type of work item that would be called when the work item was changed (either state change or other information changed). Does RTC have this kind of functionality? If so, where can I find more information about it? If not, what would it take to add this kind of functionality?

Thanks,

Jon.


Here I can help you I little more... RTC lets you to act at certain entries points. You can extending a lot of RTC functionalities using the concept of Java Plug-ins. Here is some good material: https://jazz.net/wiki/bin/view/Main/RtcSdk20

For example, you can build some Pre-Conditions (aka Advisors) or some Follow-up Actions (aka Participants) every time you save an workitem. You can see the type of the workitem and decide if you want to take some action. See: https://jazz.net/wiki/bin/view/Main/PreconditionFollowupCreation

You can also build external tools to access RTC using the Client Java Libraries or consuming its REST services (OSCL)

A few weeks ago, I started a blog at Developers Works to share knowledge about RTC Extending. The blog is still in the beginning, but gradually I'm posting information that should help. You can check it: https://www.ibm.com/developerworks/mydeveloperworks/blogs/extendingrtc/

Your answer


Register or to post your answer.