It's all about the answers!

Ask a question

Possible to restrict WI creation to only 1 instance?


Claudia Callegari (44449871) | asked May 07 '12, 1:41 p.m.
Is it possible to have singletons in RTC? I would need to have a WI type, but allow to create only 1 instance of this type...
--Claudia

2 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered May 07 '12, 2:58 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The only way I can think of achieving that would be to have a custom process precondition on the "save work item" operation, that checks to see if the work item being created is of the singleton type, and if so verify that no other work items of that type already exist in the repository. (I'd need someone else to give you guidance on the API calls you'd need to make to implement that precondition).

Is it possible to have singletons in RTC? I would need to have a WI type, but allow to create only 1 instance of this type...
--Claudia

permanent link
Claudia Callegari (44449871) | answered May 08 '12, 9:44 p.m.
Thanks Geoff!

Your answer


Register or 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.