My aim of writing this Wiki article is to let the users get acquainted with the functionality of the UWL.
Whenever a user performs some action on a work item in the Universal Work List, the item does not disappear immediately.
Rather it is removed from UWL after a refresh of the UWL cache. This often confuses the user because he gets a screen dump if by mistake, he re-opens that work item and performs some action. The error seems something like :
Critical Error
A critical error has occured. Processing of the service had to be
terminated. Unsaved data has been lost.
Please contact your system administrator.
Work item 000001971399 already has status COMPLETED
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.
For example, if you create an ad-hoc task, open it up from the UWL in the UWL viewdetail iview and complete/approve it, you will automatically be taken back to the UWL with an immediate refresh so that the task is disappeared (or status is updated). However, for some other task types, the nature of their launch mechanism won't allow for this refresh trigger. An example of this would be tasks processed via the SAPGUI.
The SAPGUI doesn't know where the user came from or where the user is going back or navigating to, so it can't force the UWL to refresh, but one thing it does is to update the task status in the backend. Therefore, the UWL will not get the
updated task status (compeleted, in process, forwarded, etc) until the UWL performs a refresh.
Following are the workarounds which you may find helpful in this scenario :
1)Click the "refresh" button after you perform some action on a UWL work item. This will trigger a refresh of the UWL cache explicitly and the completed work item will disappear.
2)The UWL refresh interval is governed by the parameter "Default Cache Validity" which you can find under
Universal Worklist Service Configuration link under System Administration -> System Configuration -> Universal Worklist.
The default value is 5 minutes. However, in case you want the refresh to happen earlier, you can decrease the value of this parameter. Setting this parameter to 1 means that the UWL cache will be refreshed every minute and the tasks on which an action is performed already will be removed in shorter span of time.
Note ** - Since the refresh of the UWL cache is a resource intensive operation, in case the UWL is pulling out thousands of work items from many backend systems, setting this parameter less than 5 is not recommended. This can cause serious performance degradation of the UWL.
I am glad to see the comments and queries which some of you has put in here. You can mail me at nitin.mehra@sap.com in case you seek clarifications.
Comments (5)
Jun 28, 2007
Alaa Qasem says:
Very infomative! I just would have wanted to see some information on how to ...Very infomative! I just would have wanted to see some information on how to code the triggering of the automatic refresh button say from a Web Dynpro application or an HTMLB one.
Jun 30, 2007
Andrew Yee says:
Once the setting for refreshing the UWL to the R/3 back is set to 1 minute (lowe...Once the setting for refreshing the UWL to the R/3 back is set to 1 minute (lowest value possible), we have a new task which is approved, the status remains the same in UWL and only 1 minute later does the work item disappear from the UWL task list.
Is there a way once a tasks is completed, to refresh the UWL, or is this more to do with changing the status of the work item?
Any pointers would be much appreciated.
Andrew
Jul 02, 2007
Sandy says:
Our users have many completed work item in their Porta Task List. However sugges...Our users have many completed work item in their Porta Task List. However suggestion to execute "Refresh" button is not working
Any other hints?
Feb 25, 2010
I. SAP Helpdesk says:
You can force uwl refresh by firing the portal event "refreshUwlB...You can force uwl refresh by firing the portal event "refreshUwlBackend" using javascript.
Add Belati
Mar 22, 2011
Guillaume Garcia says:
There is a new functionality called Real-Time Refresh coming up in EhP 2 for Net...There is a new functionality called Real-Time Refresh coming up in EhP 2 for NetWeaver.
Check this thread and wiki :
Best regards,
Guillaume