It's all about the answers!

Ask a question

How to set the approvers for WI programmatically?


Joseph Simon Arokiaraj (21414745) | asked Jan 03 '12, 7:05 a.m.
Hi All,

I am able to create the work item programmatically using JAVA API.

Now I need to set the approver while crerating the workitem.How can I do it using java API?

Cheers,
Jose

2 answers



permanent link
Joseph Simon Arokiaraj (21414745) | answered Jan 04 '12, 5:28 a.m.
Hi All,

Got it to work by using Icontributorhandle object.

Cheers,
Jose

Hi All,

I am able to create the work item programmatically using JAVA API.

Now I need to set the approver while crerating the workitem.How can I do it using java API?

Cheers,
Jose

permanent link
sam detweiler (12.4k6182201) | answered Jan 04 '12, 10:59 a.m.
glad u found it..

Your thinking process should have been

Approvers are People
People in RTC are 'Contributor's
RTC never stores the POINTER to an object, but a HANDLE

so,you need a list of ContributorHandle(s) (list is one or more)

Sam

Your answer


Register or to post your answer.