It's all about the answers!

Ask a question

How to trigger a program in RAM

James Cheung (671116) | asked Oct 15 '13, 2:38 p.m.
Hi all,

It will be great if you can point me to the right direction or links.
I would like to trigger a program when an asset type changes its state.

1. A custom lifecycle has been defined in RTC and imported to RAM;
2. An asset type has been defined in RAM which uses the lifecycle above;
3. When the asset changes the state from 'Approved' to 'Deplolyed', I have an action 'Implement' to achieve that;

Question 1: 
When a user change the asset from Approved to Deployed with the action 'Implement', how can I setup/config the RAM to call my own custom program? I tried to figure out how to call my custom process/program, but I still get very confused. 

Question 2: 
Is this something I should look at? 

Thanks in advance.

Accepted answer

permanent link
Rich Kulp (3.6k38) | answered Oct 16 '13, 1:38 p.m.
The only custom entry point you have are policies. You will need to write a policy. But remember you are running in the server instance, not as a separate process.
James Cheung selected this answer as the correct answer

One other answer

permanent link
James Cheung (671116) | answered Oct 16 '13, 1:55 p.m.
Thanks Rich. I am a newbie here, but I got what you mean.

This is my understanding now - "The Rational Asset Manager Java™ API includes APIs that you can use to write custom policies in order to validate/process assets. Administrators and lifecycle managers can apply the newly developed policies to asset lifecycles."

Best regards,

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.