It's all about the answers!

Ask a question

RTC 4.0.1 How can I set an "owned by" default based on the value of "Filed against"?

Donald Poulin (2249119107) | asked Mar 04 '13, 12:06 p.m.
I want to be able to set the "Owned By" value to a specific user based on the value for "Filed against". Can someone point me to an example of how that could be done?

Accepted answer

permanent link
Arne Bister (2.6k12832) | answered Mar 04 '13, 3:44 p.m.

Ralph Schoon mentions in his blog the addition of Lab 5 to the Process Enactment workshop. I believe in there you will find good examples of how to use JavaScript for Script Based Calculcated Value of work item attributes. There is an example of what work item values you can access. OWNER and FILED_AGAINST are among them. So scripting a value provider for Owner you should be able to read out the Filed Against attribute and figure that into the calculation of what Owner value to return.

Does this provide an acceptable answer? Then please mark it as accepted :-)

- Arne
Donald Poulin selected this answer as the correct answer

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.