It's all about the answers!

Ask a question

How to set value for a custom attribute type workItemList using plain Java API

Michael Wang (1125) | asked Aug 20 '12, 9:31 p.m.
edited Aug 21 '12, 4:36 a.m.
  I want to create a workItem using plain Java API with some custom attribute, however, when I set value for a attribute type workItemList, it give error indication "$Proxy20 incompatible with java.util.List", I really don't know what this type meaning for.
Could anybody tell me how to set value for the attribute of this type-workItemList.


One answer

permanent link
Michael Wang (1125) | answered Aug 22 '12, 2:41 a.m.
I know how to do, workItemList is the workItem list, using List<IWorkItem> wkItemlist = Arrays.asList(wkItem);
then this can be set to the attribute type workItemList.

Your answer

Register or to post your answer.