Below is a sample code:
QueryResultParameters qrp = new QueryResultParameters();
TaskAbstractStatusCriteria includeReadyTask = new TaskAbstractStatusCriteria(Status.READY);
TaskAbstractStatusCriteria includeInProgressTask = new TaskAbstractStatusCriteria(Status.IN_PROGRESS);
TaskInstanceManager taskInstanceManager = BPMFactory.getTaskInstanceManager();
taskInstanceManager.getTaskAbstractByLogonID(logonID, qrp, includeReadyTask, includeInProgressTask);
It is working for status "RESERVED" and "IN_PROGRESS" but not working for "READY".
NetWeaver AS Java all releases
getTaskAbstractsByLogonID, TaskAbstracts, BPM API , KBA , BC-BMT-BPM-DSK , Process Desk , Problem
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.