It's all about the answers!

Ask a question

creating a dependent enumeration programatically

VK L (8177156159) | asked Aug 09 '12, 7:08 a.m.
Hi All,
         I am trying to add the values to the enumeration using  (Operation Advisor):

IEnumeration<ILiteral> enumeration = (IEnumeration<ILiteral>)workItemCommon.resolveEnumeration(attribute1, monitor);
                         List<ILiteral> enumerationLiterals = enumeration.getEnumerationLiterals();

My question here is : Even if i configure this enumeration as a dependent of another attribute in the process template, my code will run everytime the WI is saved. So, how to make sure that only 1 set is generated so that it will be used for later similar combinations? without adding on values over and over?


Be the first one to answer this question!

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.