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 (23013126247) | 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
Ralph Schoon (63.1k33645) | 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. 


permanent link
Davyd Norris (2.2k217) | 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

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.