It's all about the answers!

Ask a question

Getting an enumeration value from an IAttribute


Marcelo Bilezker (46110) | asked Oct 15 '21, 9:02 p.m.

 

I am working with EWM 7.0.2

On the server, I had set an IAttribute variable, whose value I now is represented by an enumeration

How can I get the enumeration value or literal from the iAttribute variable?


this is the code where I get the IAttribute variable.
IAttribute attribute1 = workItemClient.findAttribute(projectArea, attributeId, monitor);


I need to get the enumeration value from attribute1




Accepted answer


permanent link
Ralph Schoon (63.1k33646) | answered Oct 16 '21, 8:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Marcelo Bilezker selected this answer as the correct answer

Comments
Marcelo Bilezker commented Oct 16 '21, 6:26 p.m. | edited Oct 16 '21, 10:53 p.m.
Thanks!

I was able to solve it with the first link.

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.