RTC how to get the value of a Enumeration of a https://jazz.net/forum/questions/ask/workitem?
Hi
I need to do a validation programmatically. I created a class that extend from AbstractService and Implements IOperationAdvisor. this class its going to be triggered in a work save action of a workitem. but i dont know how to get the value of a enumeration in the work item. i got the work item from: IWorkItem work=(IWorkItem)((ISaveParameter)operation.getData()).getNewState(); and I can get the customAttributes from: work.getCustomAttributes() but i dont know how to used it to identify the enumeration and get the value of the attribute |
One answer
Ralph Schoon (63.6k●3●36●47)
| answered Jul 18 '12, 12:32 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Nicolas,
please browse the results of https://jazz.net/search_results.jsp?q=IEnumeration#page=0&type=type%3DDocument-ForumThread&q=IEnumeration You have to find the enumeration and get the literal and then you can access the display text. |
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.