Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
troy_cronin2
Active Contributor
Introduction

If you are familiar with the Universal Worklist from an end-users perspective you will know that the UWL itself serves as a centralized task management platform for a wide array of processes.The purpose of such task types or work-items varies surrounding business operations and can include sales orders, travel requests, leave requests or tracking setups. The management of such tasks is of vital importance as you can imagine due to the association they share to an organizations business operations and general practices.



Underlying Functionality

The Universal Worklist (UWL) gives users unified and centralized way to access their work and the relevant information in the portal. It collects tasks and notifications from multiple provider systems – SAPBusiness Workflow, Collaboration Task, Alert Framework and Knowledge Management Recent Notifications – in one list for one-stop access.

Workitems & Inbox

The UWL follows two primary pull operations as its baseline means of functionality. When an end-users firstly opens the UWL tasks are pulled from the backend systems (across connectors) into the UWL Cache. A second pull operation then takes place and the workitems/tasks are pulled from the cache into the UWL Interface.

Workitem Status

The update/removal of a processed task in the UWL depends upon what kind of task it is.  Some task processing screens are more integrated with the UWL and include refresh triggers.

How Do I Lock Workitems?

Let us take a sample scenario in which you have the Business Workplace aligned in association to the Universal Worklist.

For example

  1. You start standard SAP verification wokflow and navigate to your inbox

  2. Upon selecting the item you note the status of "Ready"

  3. Login to the Portal from desktop and open the Universal Worklist.

  4. Select the work item (First step in Workflow Verification)

  5. Here you notice that he status should be changed from "Ready" to "In Process".

    • As the workitem has been selected by a User you believe the item status should subsequently change also.




When a task is executed in the UWL, this execution runs out of the UWL context. The UWL is not aware of the result of the work item execution.

This means that the UWL does not know, whether the task is completed after the execution. So the task is not removed from the task list in the UWL after it has been completed. It only disappears from the task list after the user uses the Refresh function that retrieves the inbox of the logged on user from the back end.

  • This is the standardized behavior of the UWL itself.


"New & In Progress" tasks along with "In Process" and "Completed" workitems are loaded each time the UWL is refreshed so if there is for example 5000 workitems divided up (New/Completed/InProcess) these will all have to be loaded in hence the importance of keeping an eye on the cache.

In truth the UWL Cache should be cleared when an item, which commonly involves a Web Dynpro UI screen, has been changed (this includes status changes) or customized and the changes are not reflected.

As you know the UWL is designed to retrieve and display work items, notifications and alerts from multiple backend system within a single list. UWL uses "pull" method for retrieving items. Thus at every refresh manual or after a time out, UWL will connect to all configured backend system and pulls the list.

But the Workitem is not locked..

The reponsibility to reserve a task lies with the Provider (Workflow) and for each workflow there is a different behavior assoication to the Reserve Action.

Further insight on this setup is discussed and highlighted within the following two documentation notes:

  • SAP Note: 1314767: Behaviour of Workitems launched from UWL

  • SAP Note: 1331372: Locking of Workitems from the UWL


To reference SAP Note: 1314767  Behaviour of Workitems launched from UWL we can see the "Reservation Lock" function is not the responsibility of the Universal Worklist Application.

  • The central UWL Basis team does not reserve a workitem once a user launches it for processing. Hence, this is currently handled by the application. Automatic Reservation in itself is not UWL Functionality.

1 Comment