calling Query from RTC server and extract the result
One answer
See https://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/ for more about the API see the other articles. Also see A RTC WorkItem Command Line Version 3.0 for a very complete example for API usage.
Comments
And the aforementioned work item commandline has all the code you can asks for.
Otherwise read:
i need to extract values from workItem by java API client not by A RTC WorkItem Command Line Version 3.0
please advise. thanks alot for your support
I advise to read the articles mentioned and download the attached code or look at the code examples in some of the posts. There are tons of code examples in that blog that other people are able to read and use easily enough.
Read