Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is it possible to control the execution order of attribute calculations in RTC?

I'm trying to capture the date that a work item was last moved to "Reopen" state as a calculated attribute.  Because the calculation script has no knowledge of previous state, I've seen recommended workarounds using a second calculated attribute to capture the previous state.  However, for this to work, the script for capturing the "LastReopenDate" has to run before the script that updates the "PreviousState".  Is there any way to control this order?  If not, is there still a way to make this approach work, or does this need to be done as a work item save follow-up action (using API extension)?

0 votes

Comments

 Thanks Lily!  You are a huge help!  This was the information I was missing.


Accepted answer

Permanent link
I don't know the official answer. But from my observation, the order of the calculated value provider scripts are triggered follows the alphabetical order of the attribute id.
Ralph Schoon selected this answer as the correct answer

2 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020

Question asked: Jul 26 '16, 11:51 a.m.

Question was seen: 2,514 times

Last updated: Aug 01 '16, 3:54 a.m.

Confirmation Cancel Confirm