How to fectch value of custom attribute of type contributor with java api?
Please I need to know how to get value of a custom attribute of type Contributor list to a work item programmatically (via the Java Plain client API).
I am able to do it if the custom attribute is of type Small String:
But I need to know how to do so if the custom attribute is of type Contributor list..
Thank you so much in advance
I am able to do it if the custom attribute is of type Small String:
But I need to know how to do so if the custom attribute is of type Contributor list..
Thank you so much in advance
2 answers
you will need to use the ContributorManager object on the repository connection to be able to get the details from the contributor objects in the list
Comments
Nilesh, you can find example code here: http://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ there are other posts on that blog with examples you might be interested in.
Please be aware of http://rsjazz.wordpress.com/2012/12/14/do-not-modify-the-triggering-element-in-an-operationadvisor/ should you try to modify your work item in the advisor.
Please be aware of http://rsjazz.wordpress.com/2012/12/14/do-not-modify-the-triggering-element-in-an-operationadvisor/ should you try to modify your work item in the advisor.