Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How can I query workItem by APPROVAL use RTCClient-plainJava

How can I query workItem by APPROVAL use RTCClient-plainJava.


IProjectArea projectArea = (IProjectArea) processClient.findProcessArea(uri, null, null);
// ..........................................................
// approval attribute
IQueryableAttribute oattribute= findAttribute(projectArea, auditableClient, IWorkItem.APPROVALS_PROPERTY, monitor);
AttributeExpression ownerExpression= new AttributeExpression(oattribute, AttributeOperation.TO_BE_APPROVED_BY, ?????);
// search result IQueryResult<IResolvedResult<IWorkItem>> result=queryClient.getResolvedExpressionResults(projectArea,term,IWorkItem.FULL_PROFILE);


how to get the object about the "?????" which font color is red
I want to use the approvalverifiyreview as the search condition to get workItems.

thanks.

0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941

Question asked: Dec 06 '11, 12:42 a.m.

Question was seen: 4,638 times

Last updated: Dec 06 '11, 12:42 a.m.

Confirmation Cancel Confirm