Dynamic Resolutons
3 answers
Hi Rod,
Resolutions is a small string. You could try to use a JavaScript based Value Set. See https://jazz.net/library/article/1093 lab 5 for some training and additional information. You can add dependent attributes and use them for your calculation. You need probably to return the resolution values configured in the process. As the worksho will explain, you will have to code the values used for the value set into the script or the configuration, because you will not be able to access the process configuration details from inside the script.
Resolutions is a small string. You could try to use a JavaScript based Value Set. See https://jazz.net/library/article/1093 lab 5 for some training and additional information. You can add dependent attributes and use them for your calculation. You need probably to return the resolution values configured in the process. As the worksho will explain, you will have to code the values used for the value set into the script or the configuration, because you will not be able to access the process configuration details from inside the script.
Comments
showing 5 of 6
show 1 more comments
Adding my 2 cents to this interesting case: based on The default value for resolution should be configurable (58950)
comment 2: The resolution depends on the action selected, which is not even a work item attribute
we can observe that we can enable / disable / filter resolution based on action only (workflow implementation)
An alternate option to Javascript based calculated values would be to replace this resolution with a custom resolution enum attribute,
and implement a new dependent enum between custom resolution and custom attribute (assuming this is an enum).
Not tested, unknown impact.
comment 2: The resolution depends on the action selected, which is not even a work item attribute
we can observe that we can enable / disable / filter resolution based on action only (workflow implementation)
An alternate option to Javascript based calculated values would be to replace this resolution with a custom resolution enum attribute,
and implement a new dependent enum between custom resolution and custom attribute (assuming this is an enum).
Not tested, unknown impact.