How can I create enumeration literals without being able to modify the process specification?
Christian Winkler (132●16●23)
| asked Jan 27 '15, 10:27 a.m.
edited Jan 27 '15, 10:39 a.m. by Ralph Schoon (63.3k●3●36●46)
Hello!
I want to be able to add enumeration literals without being able to modify the process specification. In our company, the project leader, who for example deploys new releases of HW, should add a literal to the enum of HW-versions. But he must not be able to change the project configuration. For example he must not be allowed to change the permissions. Is there a way to achieve this? I already saw a question and a defect for this, but they focued on the iteration stuff, not the enumerations. We use RTC 5.0.2. https://jazz.net/forum/questions/159598/in-rtc-why-does-modifying-the-iteration-structure-require-modify-the-process-specification-permission?redirect=%2Fforum%2Fquestions%2F159598%2Fin-rtc-why-does-modifying-the-iteration-structure-require-modify-the-process-specification-permission https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=326478 https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=251303 Thanks! Christian |
Accepted answer
Ralph Schoon (63.3k●3●36●46)
| answered Jan 29 '15, 10:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
To make this even clearer: You can not use database backed enumerations if you use process sharing.
As far as I know will
You can try that, but I am not sure if there are problems with it. I am also not sure what happens if you introduce it in the process area that shares its process and in the editor presentation and then use the said method to introduce it, with the same enumeration ID. I am not sure if the presentation picks it up and I am not sure what will happen in later versions.
You could open a PMR for this and get a more informed answer.
Christian Winkler selected this answer as the correct answer
|
2 other answers
Ralph Schoon (63.3k●3●36●46)
| answered Jan 27 '15, 10:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The only option that is available is to use database backed enumerations. However, an administrator with permissions to modify the process area has to create them first. The caveat of them is, that they don't work if you use process sharing.
Comments
Christian Winkler
commented Jan 27 '15, 11:02 a.m.
Hello Ralph,
Ralph Schoon
commented Jan 27 '15, 11:18 a.m.
| edited Jan 27 '15, 11:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Christian, if you use process sharing, you will not be able to use this kind of enumeration, because the sharing process will not be able to see the values, as far as I know.
Karen Steele
commented Jan 29 '15, 8:10 a.m.
Agreed Ralph - database level enumerations are not stored in the process so if the process is shared or used to create a new instance, these enumeration types are not included.
Christian Winkler
commented Jan 29 '15, 9:14 a.m.
Another question to understand completely:
You have to create the enumeration correctly (not database backed) in order to be able to share it. The complete definition is propagated to the child. All the values.
Christian Winkler
commented Jan 29 '15, 9:45 a.m.
Hello Ralph,
showing 5 of 6
show 1 more comments
|
Agreed Ralph - database level enumerations are not stored in the process so if the process is shared or used to create a new instance, these enumeration types are not included.
|
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.