Refresh UWL task list after completion of workitem

Baunach, Natasha R natasha.r.baunach at intel.com
Wed Dec 7 01:22:39 EST 2005


Krishna,

 

This is didn't work either - got similar error.  I will keep on trying (getting some Portal training)

 

Thank you very much for ideas though.

 

Natasha 

 

 

 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Athur Krishna
Sent: Tuesday, December 06, 2005 4:36 PM
To: SAP Workflow Users' Group
Subject: Re: Refresh UWL task list after completion of workitem

 

Hi Natasha,

 

Did you try with window.location.href = "http://portalurl:port/irj/portal?NavigationTarget=ROLES://portal_content/every_user/general/eu_role/com.sap.portal.eu_ws/com.sap.netweaver.bc.uwl.uwl_page "

 

coz EPCM.doNavigate is part of portal Client Framework API, there is a change that it could not interpret. although the I could not conclude that with your bsp error.

 

please try the above solution and let me know.

 

-Krishna

 

On 12/6/05, Baunach, Natasha R <natasha.r.baunach at intel.com> wrote: 

Hi Krishna,

Thanks again for your response.  I have found the correct role to put into EPCM.doNavigate .  I have added a URL to my BSP with onclick command to call EPCM.  Below is the copy of the code:
   <a href="myLink" onclick="return EPCM.doNavigate(' ROLES://portal_content/every_user/general/eu_role/com.sap.portal.eu_ws/com.sap.netweaver.bc.uwl.uwl_page')" <ROLES://portal_content/every_user/general/eu_role/com.sap.portal.eu_ws/com.sap.netweaver.bc.uwl.uwl_page')> >TestC</a>

However, when I click on it, I get an error:
The following error text was processed in the system: 
BSP Exception: Das Objekt myLink in der URL /sap(bD1lbiZjPTIzMCZkPW1pbiZ3PTEwNzAwMDAr)/bc/bsp/sap/z_test/myLink ist nicht gültig.

Looks like it is adding the properties of my BSP application.

Am I supposed to add this call within BSP application or do I have to add it in the configuration of the task in the Portal? 

Thank you for you patience.

Natasha

________________________________

From: sap-wug-bounces at mit.edu on behalf of Athur Krishna
Sent: Tue 12/6/2005 9:25 AM 
To: SAP Workflow Users' Group
Subject: Re: Refresh UWL task list after completion of workitem


Hi Natasha,

you can use EPCF.doNavigate("PCD URL") or use a javascript function

window.location.href ("Full URL of the UWL Role).

if you do not know the proper role to navigate. this is the simple way to find.

when you are in the UWL main screen save that screen in favorites using the portal button on the top right corner. 

then go to the favorites page and see its URL in properties

I hope it helps,

-Krishna



On 12/5/05, Baunach, Natasha R <natasha.r.baunach at intel.com > wrote:

       Thanks Krishna.



       Clarification on my first question...



       The users enters UWL, and click on the subject of my webflow task.  The webflow task calls a BSP application that has two buttons - approve and reject.  When the user clicks on approve or reject, the workitem gets completed but my application still displays the same page.  Instead of staying on that page and having users click on Universal Worklist from the menu again, I would like the user to be redirected to UWL automatically.  Do you know how I can accomplish this? 



       Thanks.




________________________________


       From: sap-wug-bounces at mit.edu [mailto: sap-wug-bounces at mit.edu <mailto:sap-wug-bounces at mit.edu> ] On Behalf Of Athur Krishna
       Sent: Monday, December 05, 2005 6:47 PM
       To: SAP Workflow Users' Group
       Subject: Re: Refresh UWL task list after completion of workitem



       Natasha,



       The main Iview of UWL contains attribute for referesh time

       I donot understand your first question regardin BSP



       -Krishna



       On 12/2/05, Baunach, Natasha R < natasha.r.baunach at intel.com <mailto:natasha.r.baunach at intel.com> > wrote: 

       Hello all,



       We are on NW04, support 13 and EP 6.0.  I have configured UWL to receive workitems from this system and able to see them in UWL just fine.  I am also able to execute those workitems in UWL.  It should return from my BSP back to the UWL and also refresh it.  But it doesn't.  It stays on the same page (although in the workflow log I can see that workitem got completed).  When I click on UWL from the menu, I still see the item there.  Only after I click on Refresh button it disappears.  So two questions (that have been posted before on SDN by another person): 



       1.      How do I return to UWL from my BSP?
       2.      How do I force UWL to automatically refresh?



       I have looked through configuration guides and searched this forum but didn't find any answers. 



       Thank you!





       Natasha Baunach
       Office: (971) 215-2276
       Pager:   (866) 272-3809 or mailto:8662723809 at archwireless.net 




       _______________________________________________
       SAP-WUG mailing list
       SAP-WUG at mit.edu
       http://mailman.mit.edu/mailman/listinfo/sap-wug






       _______________________________________________
       SAP-WUG mailing list
       SAP-WUG at mit.edu 
       http://mailman.mit.edu/mailman/listinfo/sap-wug






_______________________________________________
SAP-WUG mailing list 
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20051206/7f92fb80/attachment.htm


More information about the SAP-WUG mailing list