It's all about the answers!

Ask a question

IBM RTC 605 How to execute a calculated value script when is saved


Rafael Rodriguez Montes (23012102191) | asked Jul 15 '19, 1:13 p.m.

 Hello,

I would like to see if there is anyway to run a calculated java script value to make it run once is saved instead of depending other attributes to trigger it?

2 answers



permanent link
Davyd Norris (1.5k12) | answered Jul 15 '19, 8:46 p.m.

The whole point of calculated values is that they are calculated from other attributes, and you only want to update their values if the dependent attribute changes. That's why they get triggered when their dependant attributes change


permanent link
Ralph Schoon (60.5k33643) | answered Jul 16 '19, 1:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 This explains when the calculated values are executed: https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Script_based_calculated_values


Comments
Rafael Rodriguez Montes commented Jul 16 '19, 1:16 p.m. | edited Jul 16 '19, 1:32 p.m.

 is there any alternative where I can hook a script when the WI is saved?

Thank you 


Ralph Schoon commented Jul 16 '19, 1:33 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

You can create a Java follow up action participant. 

Your answer


Register or to post your answer.