Can we have populated text of an attribute based on some other value?
Hi,
3 answers
Hi Shuchita,
You need a Script Based Calculated Value Script.
Read the Enum Attribute value by using
workItem.getValue("attributeID")
Set the Description to be dependent on enumeration attribute.
Again you already have access to the best starting point for such customization needs in the article that you mentioned in your question... look for the script based value providers in there...
Comments
Also read Process Enactment Workshop for the Rational solution for Collaborative Lifecycle Management Lab 5. It is relatively simple to create a calculated value (and not a valueSet provider.
Also Note, that default values can be calculated, but the available information when creating a work item is very small.
Hi Shuchita,
appears to me that there may be something wrong in the script code... would you mind sharing the script code here... you can obfuscate any important confidential information you have and share the rest...
Comments
dojo.provide("com.example.ValueSetProviderDescription");
I have never done coding. So please ignore the stupid mistakes. :(
The script is working now.