Creating Hidden iView to get refresh UWL task list

Hi @ll,
i would like to know how can we create hidden iView to update task list in UWL using refreshUwlBackend event.

Hi,
You cannot use an invisible WD Java iView because the application is not executed if the iView is not visible.
I don't know if it would work with other types of iViews.
Regards,
Pierre

Similar Messages

  • Error in executing process from the UWL task list

    Hi,
    I have created a process and assigned different users to different steps. For administrator, Overseer and Owner, i have kept role as initiator only. For the actions of the process, set the value as Initiation defined and in Default Roles tab, have assigned different users to each of the actions. From the URL generated on instantiation, i created a web dynpro iview and assigned it to a role R.
    The UWL has also been configured. The initiator of the process is assigned the role R.
    Now the issues are:
    1. When the process initiator opens this role R, an error is displayed " Page not found or not available", but the process gets initiated since an entry for the same is made in the UWL task list.
    2. Even when I click on the task entry in the UWL task list, i get the same error message.
    3. Presently if i click on the role R, then only entry is displayed in the UEL task list. Is there a way in which task may automatically appear in the task list of the initiator of the process without him/her having to click the role and then initiate?
    I am not able to figure out why this is happening. Can anyone please help me in this regard.
    Thanks & regards,
    Anupreet

    Hello Anupreet,
    Refer to these SAP notes
    1104652, 1131403 or 1026119.
    This should fix the issue.
    Let me know if this works.
    Cheers,
    Mandrake

  • Getting a user task list by assignee...

    Hello,
    I had many problems trying to get a user task list from a java file. I found a way.
    I do it this way because the IWorklistService class return cero tasks with any WhereCondition... please if any one found a proper way to do this, please let me know.
    I use nanoxml library.
    public static ArrayList queryWorklistServiceI(ArrayList users){ 
    // Lookup the worklist service.
    IWorklistService worklist =
    (IWorklistService)locator.lookupService( IWorklistService.SERVICE_NAME );
    try
    WhereCondition cond = new WhereCondition();
    cond.append("title like '%TaskActionHandler'").append("and").append(WhereConditionHelper.whereInstancesOpen());
    IInstanceHandle[] i = locator.listInstances(cond);
    ArrayList tareas = new ArrayList();
    for(int j=0; j<i.length;j++){
    IXMLParser xmlParser = XMLParserFactory.createDefaultXMLParser();
    IXMLReader xmlReader = StdXMLReader.stringReader(i[j].getAuditTrail());
    xmlParser.setReader(xmlReader);
    IXMLElement xml_e = (IXMLElement) xmlParser.parse();
    Vector children = xml_e.getChildren();
    IXMLElement task = ((IXMLElement)children.get(4)).getFirstChildNamed("details");
    IXMLParser xmlParser_task = XMLParserFactory.createDefaultXMLParser();
    IXMLReader xmlReader_task = StdXMLReader.stringReader(task.getContent());
    xmlParser_task.setReader(xmlReader_task);
    IXMLElement xml_task = (IXMLElement) xmlParser_task.parse();
    xml_task = xml_task.getFirstChildNamed("part").getFirstChildNamed("task");
    String asignado = "";
    asignado = xml_task.getFirstChildNamed("assigneeUsers").getContent();
    if(asignado==null){
    asignado = xml_task.getFirstChildNamed("assigneeGroups").getContent();
    boolean b = false;
    for(int k=0;k<users.size()&&!b;k++){
    if(((String)users.get(k)).equals(asignado))
    if(b){
    String id = xml_task.getFirstChildNamed("instanceId").getContent();
    String titulo = xml_task.getFirstChildNamed("title").getContent();
    String estado = xml_task.getFirstChildNamed("state").getContent();
    String modificado = (xml_task.getFirstChildNamed("modifyDate").getContent()).substring(0,16);
    String tarea_id = xml_task.getFirstChildNamed("taskId").getContent();
    Vector datos = xml_task.getFirstChildNamed("payload").getFirstChildNamed("Datos").getChildren();
    ArrayList datos_array = new ArrayList();
    for(int k=0;k<datos.size();k++){
    IXMLElement dato = (IXMLElement)datos.get(k);
    Dato d = new Dato(dato.getFirstChildNamed("Nombre").getContent(),dato.getFirstChildNamed("Valor").getContent(),false,"");
    datos_array.add(d);
    Tarea t = new Tarea(id,titulo,estado,asignado,modificado,tarea_id,datos_array);
    tareas.add(t);
    return tareas;
    } catch (Exception e){System.out.println(e);}
    return null;

    someone??

  • Creating the hidden iview for refreshing UWL Task

    hi
    i would like to create the hidden iview to refresh the UWL task automatically.
    The event to refresh the task :  refreshUwlBackend which is the same when manual refresh link is being called .
    Pls suggest how to acomplish this.
    Regards
    Pravesh

    Hi Pravesh,
    You can try with KM scheduler as well.
    1. You need to set the scheduler from System admin -> KM -> Content Mang ->Global Services->  Scheduler task.
        You can set here the time interval for scheduler.
    2. Then create a Portal project from NWDS.
        Portal Simple project.Right click on project.New-Other-Rep framework-Scheduler task wizard.
        Create a java page where you will write the code mentioned by Raju
        portalFireEvent( 'urn:com.sap.netweaver.bc.uwl.ui','refreshUwlBackend');
    I don know whole details.but this is the process you can follow.
    Hope it helps you.
    Regards,
    Sumangala

  • Approved Task items are not disappearing from uwl task list

    Hi
    we have implemended Guided procedures with universal work list. For most of the users, once the any task items are approved, it suppose to disappear from the task list. But it is not disappearing from the task list. Even if i click on "refresh" under flter option. Please let me now how to get rid of this issue.
    thanks
    vijay

    Hi,
    Have a look on my reply on the thread:
    Uwl tasks status not get updated in Portal
    Regards,
    Fabio

  • How to divide the UWL tasks listed in "Tasks" in different views ??

    Hello, i want to divide the tasks listed in the UWL in different iviews depening on whether they are tasks from the R3 workflow, tasks from the KM or tasks from the guided procedures ; in other words, i don´t wank one iview showing all the tasks together. I want to show just tasks from R3 workflow in one iview, task from the km in another and tasks from  guided procedures in another.
    How can achieve this?
    Thanks in advance!.

    Hi Themis,
    well, you could use the concept of configuration groups. You can assign every UWL system to none, one or multiple configuration groups (see <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/92/a88931f2dd4631b9e8d530697d89c9/frameset.htm">SAP Library</a>). The UWL iView can be limited to show only work items from systems in a given configuration group.
    I suggest that you assign your backend systems (KM, SAP Business Workflow, etc.) to different configuration groups (you can choose the names of the configuration groups arbitrary). Afterwards, create a few UWL iView instances and set the iView property "System Configuration Group" accordingy.
    Best regards,
    Martin

  • Can I force UWL iview to get the updated task items when first visit

    Hi all:
        We are implementing EP7 on aix. Currently UWL iView will not display the updated items when first click on. Only when I click on the tasks tab, it will display the updated items. I change set keepItemCountUpdated tag to “Yes”, but it doesnot work.
        Can we force the UWL iview to connect to backend to get the updated items when it is first launch ?

    Have a look at the properties of the UWL iView, for example "Wait duration before calling providers on loading of UWL" and similar properties.
    You could try setting these to lower numbers to hurry up the initial update.......

  • UWL Task List problem.

    Hi Exports,
    I am facing UWL iview task tab is  not visible , mean while  work items also not coming from backend sytem ...
    Regards,
    vreddy

    Hi  Vreddy,
    Did you make any recent changes? Did it ever work before?
    What version are you on?
    Did you check to see if there are any errors on the connector?
    Did you restart the UWL service?
    Please go through the UWL Troubleshooting wiki page (below) which discusses this issue:
    http://wiki.scn.sap.com/wiki/display/TechTSG/Universal+Worklist+Troubleshooting+Guide
    Thanks and regards,
    Lorraine

  • Getting UWL task count for all users in a role.

    Hi.
    I recently posted a question regarding a very similar issue, but I haven't got any response yet. I think my question might have been somewhat poorly phrased, so I will try to do better at explaining what we need.
    We have a number of processes, most of which need to be dynamically assigned to a user when created. The way we want to assign those tasks is by executing a WebService which would receive a role name and get all the users for that role. Then, using the UWL API, it would check how many tasks each of the users have in their UWL, and return the UserID for whoever has the least tasks. I haven't been able to get this to work. I keep getting Logged in users context or session doesn't exist Exception.
    Please, any help on this will be greatly appreciated.
    Currently working with SAP NWDS 7.1 SP05 PAT0005

    Hi,
    Thank you for your response, however, that's not what I need.
    For you and anyone esle who might find this extra info useful...
    I know how to get a user's role(s), and how to get the users in a role.
    I also know how to assign a task to a specific user dynamically.
    Using the UWL API, I know how to get the tasks (or items) in a user's UWL from a WD application, I need to do that from a WebService and using pretty much the same code, with the necessary adjustments, I can't get it to work.
    Furthermore, I'm able to get the UWL tasks for ONE user, that user being the one I log into the application with. For example, if I write code to get the tasks for user testUser1, I need to log in with testUser1 to get it to work, if I log in with any different user or make it a non-authenticated application, it won't work.
    Again, help on this is much needed and will be appreciated.

  • Error in creating IAC iviews

    Dear All,
    We are trying to create IAC iviews but getting error.
    Environment details:
    OS: AIX 5.3
    DB Oracle 10.2.0.2(UC)
    Application EP7.0 (SPS14)
    Backend ECC 6.0 SR3
    We followed the below mentioned steps:
    01) Created one Internet Service ziactest in se80 with the parameters -
    ~transaction = tcode and ~generatedynpro = 1
    02) Published the 'complete service' to the site INTERNAL.
    03) Created one sub element under /sap/bc/gui/sap/its as ziactest
    04) Modified the service ziactest as :
    - specified "GUI Link" = Yes
    - specified following GUI Configuration parameters:
    ~WEBGUI = 1
    ~SINGLETRANSACTION = 1
    ~NOHEADEROKCODE = 1
    ~TRANSACTION = tcode
    ~GENERATEDYNPRO = 1
    - specifed handler as CL_HTTP_EXT_ITS
    05) save & activated the service
    When trying to test the service, we are getting a script error "Error on Page": wgu_global_eventhandler is null or not an object and the page displayed - is getting distorted . Also, system is specifying that: "The URL
    http://gcbeccd:/sap/public/bc/its/mimes/system/page/menubase.html was not called due to an error."
    When tried directly with the above url, the following error is getting displayed:
    "The following error text was processed in the system RD3: The theme extracted from PAGE/MENUBASE.HTML has more than 2 characters."
    Please note that: The SAP GUI for HTML has been configured and working properly. Also, the SAP note 790727 has been applied to resolve this problem but no result.
    Any help in this regard will be highly appriciated.
    Thanks & Regards
    Sudip

    Hello Sudip,
    If the webgui service is working then there should be no reason for this to not work.  By specifying ~webgui 1 you're actually not using any template you've created for the ziactest service.  The URL should be:
    http://gcbeccd:/sap/bc/gui/sap/its/ziactest
    Please also try:
    http://gcbeccd:/sap/bc/gui/sap/its/webgui?~transaction=tcode
    Please also publish the IAC, WEBGUI and SYSTEM Internet Services from SE80 to the Internal ITS.
    You should look at the developer trace (dev_w#) for the Dialog Workprocess that is used and reporting the error for more information. 
    Edgar

  • Personal Subarea Text in UWL- Task.

    Hello Experts,
    My client wants the Personal subarea text in UWL task list under sender column.
    I tried to change the workitem text but the expression is too long thats why it is not accepting under subject column.
    I'm attaching the screen shot for better understanding.
    Please suggest me some way to achieve this.
    Thanks & Regards,
    Prajyot.D

    Basically you need to add a new (custom) column into the UWL. Most likely you can find detailed instructions by doing few searches here in SCN. This thread should give you a good start:
    Add column into UWL
    Basically the process is the following:
    1. Create a new container element for the task for the new field/column (in the backend system) and make sure that the workflow populates the element (this you have probably already done?)
    2.  Do the XML configuration part (in portal) to show the data in the container element (=custom attribute) in UWL - see the above-mentioned thread for the basics.
    Kind regards,
    Karri

  • Error occurs when I open the tasks list in MS Project Professional 2013 from SharePoint 2013

    Hi,
    I have created a SharePoint 2010 workflow for a tasks list that updates a list item column if the Date Complete <= Today's date & Percentage Complete = 100%
    I used 'Set Field in Current Item' in the workflow & the values are updated in the list for the current item.
    However, when I open the tasks list in MS Project Professional 2013 from SharePoint 2013, then I get a error "We can't write task - taskname to the SharePoint site. This is either because tasks list is in read only mode or because this task has a column
    that requires unique value."
    If I remove the 'Set Field in Current Item' in the workflow, then the error does not occur. However, the 'Set Field in Current Item' in the workflow is required.
    Please provide solution to this issue ASAP. Your reply will be greatly appreciated.
    Thanks in advance

    Hi Jack,
    A shot in the dark here.  I'm not convinced the error is from the workflow.  What is the definition of the list item column in SharePoint?  Have you set the column to requiring a unique vale?  Look at the column definition.

  • Task list in hyperion planning dataforms 11.1.2 version

    Hi,
    I created a task list using administrator account and assigned these task list to user1. I mention a due date and alerts also. Here user1 have appropriate roles to access the dataform and to finish the task also.
    Now the issue is, when user1 finished and put the status as completed. But in admin user, those tasks status is showing as Incomplete.
    How admin will get that updated status as completed in task list.
    Regards,
    Madhu

    Hi David Mendele,
    Thanks for the reply.
    ya as u said i looked into report. but there also am getting status as incomplete using admin user.
    First of all i will explain u clearly about this issue.
    using admin account i created two task lists and assigned these tasks to user1. for example salary account and salary details ok.
    Now i login as user1 and put those task lists status as completed ok.
    Then now i login as admin and checked out those Task lists. In this scenario, am not getting those task lists(*salary account* and salary details) status as completed.
    It is still showing that status as Incomplete only which is already finished by user1 ok.
    Now, how can i get those assigned task lists status as completed automatically using admin user.
    I hope u understand about the issue.
    Regards,
    Madhu
    Edited by: 895234 on Nov 30, 2011 8:01 AM

  • Task List Type

    I am creating maint plan (IP42) and during assigning Task List, it is asking for "Task List Type" as input.
    I have searched in header screen of task list but could not find it. Can anyone say from where I can get this.
    Regards.
    Manoj

    HI
    at the time of creating plan, youhave to assign the task list,
    so when you search from plan you need to tick on check box of FL tasklist (if plan belongs to FL level),tick equipment task list if you want to assign the task list created against the equipment(IA01)
    if you want to assign the general maintenance task lsit tick on the check box of general maintenace task list.
    if you want to know the task list type
    A -general task list
    E-Equipment Task List
    T-Task List for Funct. Location
    -ashok

  • How do I roll up tasks from different sites in the same collection into one task list that can be overlayed onto a calendar or a timeline?

    I am working on how to make an aggragate list that I would like to overlay to a calendar, or add to a timeline.  There are more than 20 different project sites that have task lists.  I created a custom content type for a task list that adds the
    column "Major Milestone."  I would like to take all tasks that are marked as Major Milestone and have them be displayed on a calendar or timeline on the parent site that sums up all of the Major Milestones in the child sites.
    How should I go about doing this? ... and thanks in advance!

    Thank you for your responce. I used a content query wp to rollup only the Major Milestones, but am unable to overlay the results to a calendar.. The link you provided is for overlaying different task lists onto a calendar, but does not detail how to
    overlay the results from the content query onto a calendar.

Maybe you are looking for

  • BO XI 3.1 SP2 upgrade to SP3 Problem

    Hi All, I'm trying to upgrade our current BO XI 3.1 SP2 installation towards SP3. The server it is running on has the following OS: Windows 2003 SP2 (32bit) When performing the update, all goes well untill the point in the installation where it says

  • Decision popup on click of a custom toolbar button during the call

    Hi, I created a custom button in the CTI toolbar to open up a decision popup. The popup opens fine when i am not in the call whereas if i am in a call the popup doesn't open. Is this the standard behaviour? If that is the case is there any workaround

  • How do i fix the shuffle feature for songs?

    When I select shuffle, some songs are played many many times and some are never played.  How do I fix this?

  • Order_Number and BOM

    Hello, is there a way, i mean a SQL query, to exploit the BOM with a sales_order_number as input parameter ? Regards Stefan

  • Keep iPhone WiFi active (using WOL)

    Hi there, I have a known problem: while in sleep mode the iPhone disconnects from it's network to save power. Only when plugged into a power socket the network connection stays active. It took me a long time to figure this out because I didn't believ