RTC 4.0.1 How can I set an "owned by" default based on the value of "Filed against"?
Accepted answer
Donald,
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
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