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

automatic selection of 1 list item based on the manual selection of an item in another list - can this be done? (RTC 4.0.2)

before selecting anything after choosing the first value I have 2 enumeration list where the items in list 2 are dependent on the first list.
I only want to show 1 value and not a list of filtered values based on the selection in the first list.
BUT due to the mandatory Default Literal definition of enumerations it of course always shows this default value rather then the value I have defined in the Value set.
(in a former version of RTC - guess it was 2.x - there was no need to define a default value for an enumeration -
but this feature is gone ... and I have to define a default ....)
So. CCR Reviewer and SLAs are both dependent on the manual selection in CCR Types (see 1st file)

and if I now select one CCR Type I get:  (see 2nd file)

0 votes



One answer

Permanent link
Hi Joachim,

you can define a default value for enumerations - only general for the enumeration. This is available some time now and did not get removed. You find this if you look at the specification of the enumeration in the process configuration. If you don't want a default, define an undefined enumeration literal and select that literal as undefined literal.

You can use the dependent enumeration value set to do what you want. See https://jazz.net/library/article/1093 Lab 4 for more information on how to use them. You will be able to only show the allowed value (and the current one). You could use a validation Attribute Customization to prevent saving wrong values. Also see the link above Lab 4 and 5.

0 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: Apr 30 '13, 6:18 a.m.

Question was seen: 4,665 times

Last updated: Apr 30 '13, 10:12 a.m.

Confirmation Cancel Confirm