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!

Similar Messages

  • How to specify default desktop and/or startup items for EVERY user login?

    Hi
    My work iMac is

    +Oops! User error! Anyway, here's the rest of my message...+
    The iMac I use at the university where I work connects to Active Directory for authentication - there are no local user logins (apart from the admin account of course).
    I'd like to know how to set the default items for all user logins. Specifically, I'd like the system to automatically create an alias on the desktop to a shared folder for every new user login, or automatically open that folder in Finder when logged in.
    Though I'm the main user, if I'm not around other people may require access to the stuff I do for the multitude of projects I work on for a department of 30 people, and as everyone else uses a PC and only a few are Mac savvy, I'd like to make it as easy as possible for the poor dears to find the files. (We have a shared network drive where I can put some stuff but unfortunately our allocation is not very big!)
    Thanks.

  • 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.

  • How to get micro sd card to work

    how to get micro sd card to work.. my phone says total space 7.40GB for sSD card and that's whats available. I put a micro SD card in but no change?

    You put the card in and go to settings and go to storage and scroll down to sd card and click mount ad card

  • How to get BP kind based on user name?

    Hi,
    How to get BP kind based on user name?
    Is there any table other than BUT000 which gives the Business partner no. and BP KIND?
    What is BLUEPRINT table?

    Hi John,
    do you mean Type:
    1     Person
    2     Organisation
    3     Group
    or Role like
    000000     Business Partner (General)
    BBP000     Vendor
    BBP001     Bidder
    BBP002     Portal Provider
    BBP003     Plant
    BBP004     Purchasing Company
    BEA001     Billing Unit
    BUP001     Contact Person
    BUP002     Prospect
    BUP003     Employee
    BUP004     Organizational Unit
    BUP005     Internet User
    The Role can be found in BUT100.
    Regards
    Gregor

  • How to get imac 27 inch to work with asus triple mionitors to work through matro triple head 2 go

    how to get imac 27 inch to work with asus triple mionitors to work through matro triple head 2 go

    I think I got a little ahead of myself explaining my problem, so let me clarify...
    Only the one iMac is having the network file deletion problem, but it is included in the network user logon problem.  So 4 out of 5 of the iMacs have had or are having logon problems with network users accounts using mobile accounts on the systems.  2 of the 4 I have wiped and started over on and the other 2 have different network accounts being used by the primary system users.  The 5th iMac has not caused any problems except I forgot to mention that the USB on it seems flaky.
    So we are apparently full of problems. 

  • How to get this kind number?

    I have a float number,e.g myfloat=123.34???. When the first "?">=5,
    myfloat=123.35,or myfloat=123.34.Can anyone tell me how to get this kind number.
    Thanks in advance.

    In fact, not very clear of your problem.
    Supposing you want to get fix position's value after ".",
    you could firsly convert it to a string,
    then position "." ,use subString() to get the value.
    compare it, reconvert it back.

  • Does anyone know how to get an animated screen saver working

    Hi I have a imac desktop not even a year old.  Does anyone know how to get an animated screen saver working please. Its a gimp screen saver and is it safe to use on my mac? 

    Go to the website from where you got the screensaver from and read its system requirements and instructions for installation. 

  • The way streaming is better for all performers, if they work at it [All Platforms][Other]

    I'm no trying to be your PR or law firm but, from my perspective, being new to Spotify, I think some of the performer and recording industry comments about your not paying enough could be offset by this simple idea that, few in music seem to understand about streaming: Discovery on a massive scale.Attached is a screen shot I took of just one section of many, many new records I have saved. My saved playlists from others and playlists I made have many, many more performers on them.This is what makes streaming great, and what Apple does not seem to get very well with its Music app.If a performer or label realy gets this idea of making playlists here (and elsewhere) and being on social media (Facebook, Twitter, here) to not advertise or pester but, maybe, once a week, post a new playlist or comment on another performers playlist, these tendrals of connection all mean MORE plays. The good old days of the mega performer selling loads of CDs is not over entirely but, the days of more performers and labels getting more deserving listens is here.I have pretty eclectic tastes (I used to work at Tower Records as a teen and college student) so it is a lot of classical, jazz, but also contemporary, rock, and even African. Both living and dead. Young and old performers.I would have seen NONE of these and did not see much of any music CDs for a decade or more because of music store closure. Spotify brings back the music store and the ability to discover and audition an album (maybe even making the artist some money but not buying it!). Sure, iTunes and Amazon let you do that but, some classical CDs cost $25+ with downloads not that much less AND lower quality on Amazon. I'd listen then weigh it; How many times will I listen to this? Unless it was $7-10 AND I loved it, I skipped buying. I would even hold out a few years for lower price or buy used CDs instead.Now I am listening to more performers of all kinds I would never have heard and never have bought. Perhaps the big names are making less. But many less known but superb performers are being heard by me. If any artist does good work and promotes it online and it is ACTUALLY good work (rare for all genres), then people will listen and they will make money. Bad, unpromoted, derivative, worn out, lousy music with lazy artists or badly run labels, will not make money.  

    Indeed :-)
    This forum is riddled with questions by users that cannot get their computer to do what they want, *despite* the fact they use a very precise and (usually) unambiguous method of telling it want they want it to do -- a programming language. Making it comprehend *natural* language is, by any way of measuring, a number of degrees more difficult.
    That said: in what way would a computer program (advanced or "dumb") be able to help the OP? Spell check is one -- but it's not a *fact* that anything written *badly* equals nonsense. In politics, for example, the most eloquent speakers still manage to make a fool of themselves :D The same goes for "grammar". Of course, bad grammar is more difficult to understand -- EVEN for a human. So a computer is bound to fail on that as well.
    Fact checking then? I usually can't even find what I want in one go with Almighty Google (which seems to turn things around: if it cannot find "enough" web pages with the exact phrase you asked it, it automatically assumes you are interested in synonyms, antonyms, homonyms, and other *unrelated* stuff! Yeah THANK you but I want to find what I typed in!)
    A good starting point would be to define in more detail what this hypothetical software *ought* to do -- that needs to be a bit more concrete than "I want it to do my job for me."

  • How to stop PR creation from PM work order for a particular vendor?

    Hello Experts,
    We have following scenario for breakdown maintenance activities.
    When a machine breaks down, a breakdown order is created in SAP. The external manintenance services are planned in the order. When the order is released, a single PR (with multiple item numbers corresponding to number of services) is created by SAP. The PR has a release strategy. When PR is released, PO is created followed by the SES.
    The practice followed AS -IS for breakdown outside business hours:- If the breakdown happens outside business working hours, the person releasing the PRs is not available & hence PR can not be released resulting in no PO & no subsequent SES.
    In this case, the maintenance is completed by the external agency & the work order is TECO. The next day, TECO is reveresed, new PR is created, released, converted into PO, & then SES.
    TO-BE process:- Client expects that, for certain vendors identified, PR should not get created at all from the breakdown order. (The list of  vendors will be maintained seperately). For these vendors, a framework order will be created at the start of fiscal year & SES will be created as & when required agaainst the framework order.
    My concern is :- How to stop PR creation from PM work order for a particular vendor? OR delete the created PR?
    Highly appreciate your quick response.
    Thank you.
    Amit
    Note:- My ABAP consultant has checked following BADI's, but could not find it useful.
    IWO1_ORDER_BADI
    ORDER_COSTING_CK
    DATA_EXTENSION_CK
    VALUATION_CK
    ME_REQ_OI_EXT
    IWO1_PREQ_BADI
    ME_CHECK_SOURCES
    ME_REQ_POSTED
    IWO1_ORDER_BADI

    Dear Amit
    I am giving a different dimension to your question check if it fulfills your requirement -
    As we know Vendor selection comes at a later stage only after your PR creation, approval & RFQ etc. & PR generation from maintaine. order is controllled through control key PM03.  While triggering PR from order you have to specify Material group, Purchase group and vendor. Try to control it through authorisation as all these are authorisation objects. The persons executing breakdown order shall no t be given this authoriations
    shakti

  • How can I shut off all of the pop-up windows for all the Firefox updates?

    How can I shut off all of the pop-up windows for all the Firefox and Thunderbird updates?
    Apparently now Mozilla creates new versions of their browser and email apps every two weeks instead of just creating updates... I'm tired of all of the pop-up requests for these constant installation requests and all the problems that the new version installations create... I just want to use the software and be left alone.
    I can't find a way to make Firefox and Thunderbird stop with the pop-up requests for new installations... is there a way to do this or has Mozilla just got it rigged so one can't just use the software without re-installing a new version every two weeks and running in to new plugin issues and missing features every time?
    Help!
    Thanks,
    numetro

    Is it possible that her computer is infected with malware.
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How to get a wallet (like in Nokia 6600) for Nokia...

    Dear All,
    Can you please tell me how to get a wallet (like in Nokia 6600) for my Nokia E63?
    Narottam Das
    Kolkata, India

    Using the data from your Excel spreadsheet, this is what I get from the curve-fit functions:
    Seems like a pretty-good fit to me. I'm not sure what you're trying to do with the polynomial evaluation stuff, though.
    Message Edited by smercurio_fc on 07-30-2008 09:21 AM
    Attachments:
    Example_VI.png ‏17 KB

  • Why is my iPhone 5c's home button not working at all it didn't work once for a few minutes then it was normal again now it won't work at all. HELP

    Why is my iPhone 5c's home button not working at all it didn't work once for a few minutes then it was normal again now it won't work at all. HELP

    The screen repair was botched. Take iPhone back to place of screen repair, and have them get the home button working again.

  • 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.

  • How to get the number of decimal places configured for a site column

    Hi,
    I have a column 'SampleNumCol' of type Number, the number of decimal places to be displayed is configured as 2.
    The column conatins a value, but when retrieved programatically is displayed as 5.00000000  instead of 5.00.
    I am retrieving this column using listitem.Properties[field.InternalName].
    I need to trim the decimals based on  number of decimal places configured for the site column.
    How to get the number of decimal places configured for a site column?
    Thanks in advance,
    dhijit

    Get the field as SPFieldNumber and then check DisplayFormat which returns
    SPNumberFormatTypes
    SPFieldNumber numberField = list.Fields.GetFieldByInternalName("YourNumberFieldName") as SPFieldNumber;
    SPNumberFormatTypes numFormatType = numberField.DisplayFormat;

Maybe you are looking for

  • HP 3055 scanning function stopped working with OS 10.7.

    I recently upgraded to OS 10.7 and my networked HP 3055 printer/scanner/fax ceased to be a scanner/fax.  Printing functions work fine.  I have full functionality with my old G4 PowerBook running on 10.5.8.  Is this another HP driver problem?  The HP

  • Ichat video not working

    I just bought a new imac w/ leopard for my parents. One of the main reasons was so that they could video chat with the grandkids. I have an Imac G5 with Tiger. I keep getting a communication error when we try to video chat. I am directly connected to

  • Digital Signature in SAP DMS

    Hello, We want to implement digital signatures in SAP DMS, but we're not sure on how to accomplish it. We have the following scenario: 1. All the users have a digital certificate which is part of the Portuguese ID card; 2. Currently we're all using t

  • SMQ2 Queue blockedu0085

    Hi All, I am having problem with my Queues in XI. For example 10 messages are passing thru my XI system. In the 2nd one gets fails. Remaining 8 messages will be in Queue. We can see in SMQ2 transaction and manually we have to clear the queue in this

  • Adobe AIR HTTP1.1 Streaming issue

    I have an Adobe AIR application that connects with a java server using AMF Streaming connection(mx.messaging.channels.StreamingAMFChannel) in BlazeDS. The web server used is jboss6.1.0. When I connect to the server from my 64bit Windows 7 PC, the Ado