Listing Work Items, through End User Menu

Hi
I created a rule which will fetch all the Work Items.
The below mentioned code is used to fetch the Work Items,
<invoke name='listObjects'>
<ref>ctx</ref>
<invoke name='findType' class='com.waveset.object.Type'>
<s>WorkItem</s>
</invoke>
</invoke>
I am calling this rule through a form, so ctx value will be LocalSession.
This form is called through a Workflow.
When I am running this workflow directly from Admin Interface
ie. ServerTasks > RunTasks > myWorkFlow
This rule is working fine. The Repository Result Work Items are Listed
But the problem is arising when I call this workflow from a EndUser Interface, this is not working,
Repository Result size is 0, that means no record.
So I thought may be because of User privileges it will not work,
so I added the following code in the rule
<RunAsUser>
<ObjectRef type='User' name='Configurator'/>
</RunAsUser>
But this also, is not solving my problem.
The requirement is, that a user must see all the Active Work Items.
Please help me in this problem.
PS: I am Using IdM 7.0

Hi Everyone,
Thanks for all your help.
I have found the solution for my problem.
Earlier I was using listObject function to get the work item details, this function will only work in localSession. But when the user logs in he is not having privilege to view those details so the reult was returning as null.
Now I am using getObject function.
<invoke name='getObjects'>
<invoke name='getCache'>
<ref>WF_CONTEXT</ref>
</invoke>
<invoke name='findType' class='com.waveset.object.Type'>
<s>WorkItem</s>
</invoke>
</invoke>
This function returns me all the WorkItem details, the object is WorkItem.
With this object I can get all the details, regarding that WorkItem.
Thanks everyone for all your help.
All the details of the various functions I got from Javadocs.
Thanks again
God Bless You all.

Similar Messages

  • New link in end user menu does not display

    I am new to IDM and am trying to add a new link on the user Welcome page. I have added the link in the End User Menu using the BPE and the XML looks ok. I have saved the changes to the repository; but, the new link does not appear in the list on the user Welcome page at next login. Can anyone point me in the right direction? Thanks.

    End User Menu would be the right place to put this. Since you're able to see your link in the BPE browser, I think you're off to a good start.
    Did you use the BPE to commit the form change to your production repository? If so, try saving your change as an XML file first and then import the form from the Configure->Import Exchange File menu.
    Is it possible your browser settings are caching the page? I've never seen this happen, but it might be a factor.
    Jason

  • After changing a mail list name in Server end, users can't see the update in outlook client

    Dear all,
    This is a real issue. I am a Help-desk in a global company and after changing a mail list name in Server end, users can't see the update in outlook client. Even I download Offline address book in full detail, user still can't see the change in her outlook.
    Does anyone know how to fix it?
    Thanks,
    Franklin hong

    Hi,
    Would you please detail what you did by "changing a mail list name in Server end"? What is the mail list and what server?
    If you switch to Online Mode instead of Cached Exchange Mode, does the user see the change?
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Read query string from End User Menu

    In our IdM application, I want to be able to read a variable passed in a query string.
    The string is part of the JSP page which takes the user back to the end user menu (user/main.jsp).
    Is there a way for the end user menu to read a value from a query string?
    Or can user/main.jsp be modified to pass the value from the query string to the end user menu?

    can you brief ur requirement?

  • Best practice for end user menu pages

    Hi
    here is my goal :
    i want to add a link on the end user menu offering the user the ability to reset some LDAP fields (for example reset default values for mail settings after the user made a wrong customization).
    I saw all links on the end user menu are pointing to jsp pages. must i do the same or can i achieve my goal with only workflows and forms in the BPE ?
    is there somewhere a good example or a best practice desciption of such a customization ?
    thanks a lot

    Hi
    here is my goal :
    i want to add a link on the end user menu offering
    the user the ability to reset some LDAP fields (for
    example reset default values for mail settings after
    the user made a wrong customization).
    I saw all links on the end user menu are pointing to
    jsp pages. must i do the same or can i achieve my
    goal with only workflows and forms in the BPE ?
    is there somewhere a good example or a best practice
    desciption of such a customization ?
    thanks a lotDo you mean adding additional tabs to the accounts information (default being identity, assignments, security, and attributes). So, you want an additional tab such as 'LDAP attributes' after attributes, once you have assigned LDAP resournce to that user, right?
    Cheers,
    Kaushal Shah

  • Modifying custom end user menu - tabs

    Hi
    I have created a custom form within IdM 8.0. which I want to display instead of default end usermenu form. I have made necessary mapping for form type - "endUserMenu" under form and process mapping. I see my changes under HOME tab of default end user menu and in addition i see the other default tabs.
    How do i eliminate/ remove the other tabs - workitems, requests, delegations and profiles from end user menu form. Where do i need to change or set the config values.
    Thanks

    Hi,
    Thanks priya, it was helpful..
    but i dont see any fields under each "menuItem" in the End User Navigation, i am wondering how the tables and other HTML components got generated.
    Thanks

  • Need to send work item to mutiple users at top level in PR release strategy

    Dear All,
    We are using workflow WS20000077 for PR release strategy.
    Now the requirement is, at higer level, say at Board of director level, the work item should go to mutiple users and any one can approve/reject the work item. In other words, upto the board of director level , the workflowwill send work item to respective users as defined in release strategy, only at the Board of director level it should send work item to multiple users.
    So how to send work item to mutiple users at a particular level in release strategy.
    Thanks & Regards,
    Fawaz

    Hi Fawaz,
    Your requirement can be achieved if you use Organisation Plan for agent assignment.
    In the plan, you create position for each stage and assign the position ID in the worklfow section of the PR release strategy against the release code in MM.
    The work item will goto all the users assigned to that position. this way is very flexible too for future agent change. only change the user assignment to the position.

  • How to transfer work items from one user's inbox to other user,s inbox(UWL)

    Hello All
    We need to transfer existing  but  open work items from one user's inbox to other user,s inbox(UWL)
    How to go about it?
    These are the items from backend  R3.
    Thanking you
    Rajendra

    Hi Rajendra,
    Usually in R/3 if you want to transfer the workitems to other user , you can just select the workitem and then click on "Forward" button. This will pop-up a box to enter the "User" ID of the other user to whome you want to transfer the Workitem. A Similar button is available in UWL as well.
    So, in UWL when you click on the Workitem, it will should give you a button "Forward" and by clicking on that you should be able to transfer the workitem you the other user.
    I hope this helps you. Let me know if you need any more help.
    Regards,
    Gopal.

  • End User Menu Styles

    How can i chnage the Font siz of links on the End USer menu...
    Which Style is linked to these links like "Change my Password" etc
    I need to increase their size...
    I tried using the property style and never succeeded...

    i have a new set of style in the CustonStyle.css...
    but what property on the form?
    Can you please post a sample code of that field.

  • Keeping a variable in context in the End User Menu

    Hi All,
    End Users can enter a WF variable, then enter a link to a WF... when the workflow finishes they come back to the End User Menu.
    I'd like to keep the variable entered by the end user in context.
    - Matt

    Hi All,
    End Users can enter a WF variable, then enter a link to a WF... when the workflow finishes they come back to the End User Menu.
    I'd like to keep the variable entered by the end user in context.
    - Matt

  • How to reassing Work items to another user?

    Hi SDN
    We have a situation where we need to extract, from one approver inbox, all the work items he has to approved, and re-assign them to another approve, who has the same level of approval.  I know we could only ask the 1st approver to go in Change mode and re-assign Approver #2, but Approver #1 is not available.
    Can you please explain me how to extract the list of work items sitting in Approver #1 inbox, and re-assign them to Approver #2 using some of the WF t-code available for EBP Administrator?
    Thanks for your usual collaboration!
    Eric L.

    Did you try the FM SWW_WI_FORWARD
    To get a particular user inbox workitems you have FM SAP_WAPI_CREATE_WORKLIST which will rertun you all the workitems that are in the ready status.
    BY using the FM SWW_WI_FORWARD you can forward the workitems.
    Suppose if we have 2 users UA and UB and you need to send all the workitems of UA to UB and when you send the workitems , what ever the workitem that you send to  UB that workitem will not be available in UA if you use the FM SWW_WI_FORWARD

  • Controlling end-user menu interaction

    Hi,
    I created a form with an embedded reference table (spans two pages) that the user can access through a show/hide button. I don't want them to leave the table displayed when they save or print the form. In my form, I provide print and save buttons in my form ( I inserted a script that hides the table if the user clicks print or save).
    However, if the user chooses to print or save through the Reader menu, the table (if displayed) remains displayed and /or prints. Is there any way that I can fix this easily?
    Thanks!

    You can use folder level scripts to hide the menu items via app.hideMenuItem().
    But you'll have to install those scripts on every system separately.
    Another way would be to use the prePrint and preSave events in a form to show/hide form objects.
    In this way it doesn't matter, how a user executed a save or print action.

  • How to get all kind of GP work items for all users

    Dear all:
       Basing GP implementation,we can only get the single user's work item. Is that possible to get all of the users' work items,and can filter the work item via time field?
      thanks a lot.

    ISearchResult result=UMFactory.getUserFactory().getUniqueIDs();
                   IUser iuser;
                   while(result.hasNext())
                        iuser=UMFactory.getUserFactory().getUser(result.next().toString());
    The above code retrives all the users from the UME
    IGPUserContext context = GPContextFactory.getContextManager().createUserContext(iuser);
    IGPWorkItem[] workitems = GPProcessFactory.getRuntimeManager().getWorkItems(GPWorkItemStatus.getTypeForCode("1"), context);
    You will get the WorkListItems in the workitems array. The type for code which is 1 currently, must be changed according to the requirement. It is different for Completed, Inprogress Tasks, etc.
    Hope this will help you!

  • Issue with Work Items for a User

    HI All,
    I have an issue with workflow.
    One of my user stopped receiving work items in his inbox. I checked table SWWUSERWI and found 0 entries for the user. So i guess there is no problem with the display setting in SBWP.
    What could be the probable reason and where can i find if those workitems that are generated for him that he has not received.
    Regards,
    Rohit

    There can be many many reasons. You need to understand the workflow and work with an example (an item the user says they should have received). Then try to follow the agent determination logic based on the data contained in that example and verify that everything matches up.

  • Calling Web Dynpro ABAP application as work item through workflow.

    Hi experts,
    I want to call a Web Dynpro ABAP applicaiton through Workflow as UWL work item..
    Can anyone please provide me inputs about how can i achieve this?

    Hi Abhishek
    How will tha Task recognize which Web dynpro applicaiton needs to be processed.
    see in the workflow take the task number which you want to do for approval. That task number you register in t-code SWFVISU. so when the workflow trigger the goes to the approver the task is directly linked to the web dynpro screen which you have registered in SWFVISU. So when the task is click the corresponding web dynpro screen tagged to the task will get opened.
    I dont no weather task is available or not. It purly depends on the module and the workflow.
    I think i have answered you question correctly.
    Regards
    vijay

Maybe you are looking for

  • Windows 7 Ultimate 64 bit backup failed (0x80780119)

    first I try to install windows 7 ultimate RTM 64 bit on Hitachi 80G sata hard drive, after fresh install I create a system Image to DVD it backup ok no problem at all. I received seagate 320G HD replace, I restore the Image from DVD to 320G hard driv

  • Oracle 9i Release 2 (9.2.0.1.0)

    Hi I am installing Oracle 9i on SuSe 9...my challenge is when I run Oracle Universal Installer the welcome screen hangs...when I click next nothing seem to happen.....what might be the problem.......

  • Solaris 10 cd's not bootable

    We have original sets of Solaris 10 and downloaded from Sun website and they are not bootable. We were thinking at a minimum that cd1 would be, but it isn't. The DVD is bootable and works fine, we're having problems with the CD set. Anyone have this

  • Making the form Readonly in subsequent stages in a process

    Hi all, I have a situation where we want to make the form readonly in subsequent stages.Let me put it this way- In my process the user1 will fill the form and hit on complete button. the user2 opens the form but the form should be readonly to the use

  • Custom Master Page - CSS & Dynamic Display

    I have created a css file and attached it using Site Settings> Master Page> Alternate CSS URL.  This works really well and I get the customisations for the global navigation drop-downs as below including colours size etc. For my drop-downs, I'm wanti