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.
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.