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

Possible to restrict WI creation to only 1 instance?

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

0 votes



2 answers

Permanent link
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

0 votes


Permanent link
Thanks Geoff!

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

Question asked: May 07 '12, 1:41 p.m.

Question was seen: 2,886 times

Last updated: May 07 '12, 1:41 p.m.

Confirmation Cancel Confirm