SAP Knowledge Base Article - Preview

2518636 - Can't get READY status using getTaskAbstractsByLogonID() method

Symptom

You want to use method getTaskAbstractsByLogonID from interface TaskInstanceManager of NW BPM public API to retrieve the TaskAbstract of special user ID.

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


Read more...

Environment

NetWeaver AS Java all releases

Product

SAP NetWeaver all versions

Keywords

getTaskAbstractsByLogonID, TaskAbstracts, BPM API , KBA , BC-BMT-BPM-DSK , Process Desk , Problem

About this page

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