Work item is in WAITING status

Hi All,
from the past 2 months we are getting so many work items in waiting status in our system. We are able to see different work flow work items in 'WAITING' status.
What would be reason to be in waiting status.
All this work items are having message as ' Work item submitted for execution' in log but it is not reaching agents inbox for approval.
Is SAP Note 962488 will help me in this issue.
Regards,
Kusuma K.

Hi ,
There can be some event which is either inactive or incomplete, check for them in the Log and do the needul.
Hope it shd help.
DP

Similar Messages

  • Work item struck in 'Waiting Status'.

    HI All,
      I have a problem with SRM custom workflows for PO and Invoice approval. Work flow has started but stuck in the status "waiting" at the first step 00002 "Parallel Section Between Approval "
    I've checked SWPC (continue workflows after crash) and SM58 (RFC connections), but its not in either.
    Can any one tell why work items are going into waiting status?
    Its very Urgent.
    Thanks,
    Shiva

    Hi,
    Sorry, I'm not familiar with SRM related matters. Can I just check with you if the task in the workflow is an 'Wait for Status Change' kind of activity? E.g. WS12300111 (ECC 6 Leave workflow).
    If so, you may want to simulate in your test server, and run program RSWWCOND to see if the workflow will continue. Not too sure if this will help you.
    Regards,
    Damien

  • Forwarding 'Wait Step'work items using SWIA

    Hi,
    I need to forward work items of one user A to another user B urgently, using SWIA.
    The work items are in executed state. This is after a fork step in the workflow, where the executed work item is one branch of the fork.
    As these items are executed, we will have to forward the work items that are in ready state.
    The work item for the other branch of the fork is in ready state. However this is a wait step, and hence I am not able to forward this item.
    Kindly advise as to how should I forward these items.
    Best Regards,
    Smruthi.

    Hi Smruthi,
    Dont confuse with the wait for events and dialog work item. There is no direct link between the wait for events and the work item.
    Only dialog work items needs the user action and dialog work item's only can be forwarded to other user's.
    For this, the work item should have the status of 'Ready'. If the work item has the status 'In process' that means, the user opened the work item and still he didnt take ant action on it.
    In this case, using SWIA you can manually change the status as 'Ready' and then you can forward the work item to the other user's.
    To forward the work item use the function module 'SAP_WAPI_FORWARD_WORKITEM' or use the SWIA transaction.
    Thanks,
    Viji.

  • Work item with error status

    Hi,
    I need your help in order to know what shall I do when a work item finishes with error status.
    Thanks in advance,
    Andrea

    look at business workflow -> development -> administration -> workflow runtime .
    here you have several possibilities
    SWPR to restart after error
    SWI2_DIAG for diagnostics
    SWI2_FREQ to see the details
    SWWERRE_DEBUG to debug

  • Terminating Event Terminating all work items

    System : Solution Manager
    Business object : BUS2000116
    1. I have multiline container element for Agent.Agents are Dynamic not static.Approval from all agents is required.
    2. Work flow desing
    a.Defination of Agent : ABAP Dictionary type SWP_AGENT with Multiline
    b. FORK with two steps , One step Required
    c. One part of FORK has WAIT FOR EVENT "REJECTED" Event and other has Activity with Agent "_underline []Agent()Index of: Agent _underline"
    d. Under the Miscellaneous tab Multiline line element Agent.
    e. Terminating event for this activitiy is APPROVED Event, which I have defined in business object.
    Let say in Program [Custom tab for standard transaction CRMD_ORDER] I have three agents I am getting Three work item in the workflow log with different Agent.
    PROBLEM:
    When any user open the workitem from SAP Inbox and APPROVE it[ Custom button on standard screen CRMD_ORDER], Program raises Event APPROVED by using Function Module "SWE_EVENT_CREATE". But it set other two work items also in Completed status.
    concatenate 'US' sy-uname into v_creator.
            call function 'SWE_EVENT_CREATE'
              exporting
                objtype                       = c_objtype    "BUS2000116
                objkey                        = objectkey    "Key field Which is GUID from CRMD_ORDERADM_H  table
                event                         = gs_event      "APPROVE"
               creator                       = v_creator
                take_workitem_requester       = 'X'
              START_WITH_DELAY              = ' '
              START_RECFB_SYNCHRON          = ' '
              NO_COMMIT_FOR_QUEUE           = ' '
              DEBUG_FLAG                    = ' '
              NO_LOGGING                    = ' '
              IDENT                         =
             importing
               event_id                      = v_eventid
               receiver_count                = v_count
            TABLES
              EVENT_CONTAINER               =
             exceptions
               objtype_not_found             = 1
               others                        = 2
            if sy-subrc <> 0.
              message id sy-msgid type sy-msgty number sy-msgno
                      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            endif.
    Please let me know what could be the reason?
    Thanks in Advance.

    I think instead of using a event you can use a container element. You want to make sure that the users performs the approving action properly. If the user does that inside your code you set this container element as X. You pu the approval step inside a loop that checks whether the container element is X. Also another important thing you need to put the parallel approval step along with the loop inside a subworkflow.
    Thanks
    Arghadip

  • SWI1 work items execute at a time...

    Hello workflow gurus,
    I need help in the workflow regarding the mass execution of different work items hanging in the SWI1 queue.
    We are using the workflow in our project. & we have lots of work items are hanging in the SWI1.Some of them are related to wait step, which means they are waiting for deadline monitoring & some of them related to executing a method in the background.
    Now my  first question is how can we execute all the waiting work items at a time? Because there lot of them are there. & my second question is how can I execute the background step work items at a time, because this does not involve any waiting period. For ex: changing the sales order.
    Pls help.
    Thanks,
    Pandu

    Agree it is not a queue, let me explain you what is happening, we have a single step task which will just execute the method of the business object. It is single step. So when we raise the event in the code  this work item gets created & the method will be executed.
    But if it is one time, then it's perfectly ok. But the code will raise the event lot of times. So lot of background work items are getting creating in SWI1. The status of these work items are  'READY', & I see lot of entries in SM58 too.
    SAP help says: The background work item status 'READY' means
    Interim status, in which a background work item only remains temporarily.
    As soon as a background work item can be processed, the system automatically calls the corresponding object method. The background work item immediately changes to status in process.
    "The object method is called using a tRFC call. If a background work item remains in status ready for a long time, you should check whether the tRFC calls are processed without errors.".
    That means with 'READY' status, the work item has already executed the method using tRFC call & it failed in SM58? or
    it is waiting to execute to that method but waiting fro any resource? or something else?
    If it is just like a single method why it is taking time & hanging in SWI1. Pls clarify.
    Also I want to ask one more question, to execute/process  this background work item which std program/job is responsible? For ex: SWWCOND. So that we can schedule more frequently.
    Pls help.
    Thanks,
    Pandu

  • Error in mail box work item not executable

    HI,
    i build simple WF for approve and reject  that send for user to  sap inbox
    some decision ,when i check the inbox of the user and double click on the line i get some red triangle in the status Colman  with
    error work item not executable,
    what can be the problem?
    Regards

    HI Raj,
    i build very simple WF ,
    user decision , i put there user  and approve and reject that it.
    i execute the WF and go to the SAP user inbox.
    in the Work Flow folder i see the task in column executable i see green V work item executable,
    status ready  when i double  click on it to open i get  in column executable message work item not executable ,
    and status error ,What it can be?
    P.S. i check something like that in other system and i don't get the error .
    i start the trace SWELS but in SWEL i just see in the log Trace on trace off nothing more .
    Best Regards

  • Terminating Event to Event Queue due to Work Item Lock

    I have a dialog workflow task based on an asynchronous method defined with a terminating event.  When the user executes the work item, the method generates the terminating event (via a V2 change document) but the work item is enqueued (locked) by the same user (locked when they execute the work item from SBWP) and therefore the terminating event goes into error and is placed in the event queue.  The background job which processes the event queue does not redeliver the event so it stays in the event queue and the work item fails to complete.  Other than dequeing the work item lock myself with a function call how do I get around this catch 22?

    Hello Martin,
    Actually, the locking happens whether I have the task as asynchronous or synchronous.  The problem is the timing. If the user does not release the lock (by backing out of the dialog which is executed) prior to the terminating event attempting to enqueue and complete the work item then the event goes into error and is inserted into the event queue (and lingers there indefinitely, almost). Another issue with the asynchronous approach is that even if the user backs out of the dialog before the event actually attempts to complete the work item they will still see the work item in the inbox unless they click the refresh button when they get back to the inbox. 
    I have changed the task to synchronous but here is my scenario and another question.
    The process being workflowed is the approval of service entrysheets (similar to an invoice if you are not familiar with External Services).  In our process, there are a large number of documents being created and requiring approval by particular approvers.  It is a normal scenario for an approver to have, lets say 25 documents in his inbox awaiting approval. It was not practical for him to have to navigate back and forth between his inbox and the approval task screen.  Therefore, I give the users the option of (when executing a work item) having all the documents in his in-box (for this particular task) be presented in an approval list screen.  They can then do a mass approval of the 25 documents with 1 click and 1 navigation.  This list screen is also available to be executed outside workflow via a tcode.  So, when the user executes the mass approval (either from the inbox or outside workflow) the work items are terminated via the terminating event assigned to the approval task.
    A couple of issues remaining:
    1) Given my example of 25 work items (user executes 1 work item from in-box
    and I displayed all 25) being approved, when the user returns to the in-box, the 24
    items remain in his inbox until he clicks the refresh button since these were not actually "executed" from the workflow engines point of view.  However, these were terminated successfully because they were not "locked".
    <b>Question:</b> Is there a way (user exit?) to trigger the inbox refresh automatically.
    2) Now, the issue with the actual work item which the user executes from the inbox.  As I mentioned, the work item is locked as soon as the user executes it and is not released until they back out of the dialog or logoff.  So, here is what happens:  If the terminating event is sent before the lock is released the event is sent to the event queue.  If they then back out back to the in-box, its OK since I put some code in the SWO1 object type program (rememeber, its now synchronous) which will determine if they did the approval/rejection and the work item will complete and the event in the event queue will be deleted the next time the Event Queue Background job runs (it deletes any events for work items already in COMPLETED status). However, lets say they simply log off rather than backing up to the in-box or they don't do anything and are eventually logged off by timeout. In this case the code in the object type program to determine if the approval/rejection was done does not get executed (control does not return to the object type program) and the work item remains in "STARTED" status and remains in the users inbox and the event is in the event queue. So, now we have a work item that should be completed still sitting in the users in-box and the terminating event in the event queue. So the next time the user goes to their inbox the work item is still there.  The interesting thing is that though this may be confusing to the user, if they then attempt to execute the work item, they will get a message: "Work item currently being completed by event" (Message SWF_RUN 644) and the event sitting in the event queue gets redelivered and completes the work item.  To alleviate this problem I was thinking of adding a call to SAP_WAPI_WORKITEM_COMPLETE in the approval list screen after they do the approval but I'm guessing it wont work since it probably will try to enqueue the work item and it will still be locked. 
    Hopefully you haven't nodded off reading this rambling note...
    Thank you,
    Bob

  • Execution of work items

    Hello,
    we have some unprocessed work items in workflow with status Error. we would like to post, is there any standard job to process all Errro items at a single time !!
    Regards,
    Ramesh.

    Hello,
    This transaction  SWPR didn't pick up the work items, we executed through SWI1 still the process and workflow log did not completed. Below error has occured  "Fork from node 362 has not been released again yet"
    Please suggest
    Regards,
    Ramesh.

  • Removing Completed Work Item

    Good day all.
    Our Portal users facing an issue where sometimes the work item doesn't disappear from their Portal Task list even when they finish the execution.
    We checked the workflow log and indeed those work item is in "Complete" status.
    We also checked from user's back end (SAP Business Workplace), completed work item is not there.
    Is this bugs in the Portal Task List because not in sync with SAP Business Workplace ?
    Is there any transaction to get rid these work item of ?

    Hi Sandy,
    To add to Gareth, check this link http://help.sap.com/saphelp_nw70/helpdata/en/eb/101fa0a53244deb955f6f91929e400/frameset.htm for exact information(Pull Channel Delta Refresh period in seconds).
    Hope this should close the problem.
    Regards
    <i><b>Raja Sekhar</b></i>

  • Work item in waiting status incase of multiple approvers

    Hi Experts,
    We have a scenrio where in the work item needs to be sent to multiple approvers.
    We have multi line container element which contains all the approvers. We have assined this container element using the expression option for the agent .
    we have made the task as general task and we do not have any requested start maintained for this work item.
    However we are facing a problem. Work item is always in waiting status. What might be the issue? In our case when i check the work flow log, for these work items there are three approvers, however SBWP inbox is appearing only for one approver and remaining two approvers do not have any Icon against their name.
    I have checked the approvers ID's and all of them are active in the system.
    Can you please help me to resolve this issue?
    Regards,
    Madhu

    Hello,
    I would look at the workitem in SWIA, proceed as if you were going to change the container elements (ie click on the workitem number, Edit > Change) and see what options are available to you.
    "Resubmit: You can have a work item resubmitted to you for processing at a later date. To do this, choose Resubmit and then enter the date on which you want to receive the work item."
    Let us know what you find.
    Edited to add: I tried it myself, a "End resubmission" button appears when you click on the Waiting step in the workflow log.
    regards
    Rick Bakker
    hanabi technology

  • Work item Status

    Hello,
    I am working on SRM , when an user is creating Shopping cart new workitem is created and email is sent to approver for approval.
    In table SWWWIHEAD i can see WI_STAT (status of work item) values as READY or WAITING or STARTED. Please explain these three status in detail
    for example READY means email is in inbox of approver? etc
    Best regards.

    Hello,
    Off the top of my head:
    READY means ready to be executed, ie waiting on a user
    WAITING means waiting for something, eg an event or a wait step
    STARTED is usually the status of a workflow after it's been started but not yet completed.
    Usually for an active workflow the main wf workitem will be STARTED and there will be one (or more) READY workitems.
    regards
    Rick Bakker
    Hanabi Technology

  • Work flow in waiting status

    Hi,
    we are using N step PO work flow for chagning the purchase orders.
    when the PO is changed and ordered workflow is going into WAITING status.
    It is not triggering the next steps at all.
    Could any one suggest how to proceed further?
    Thanks,
    Naresh

    Hi Daniel,
    It's wokring fine for all the PO'S.
    For only one specific PO we are facing this problem.
    Even If I try to change the same PO again it gives an error
    'Document being processed in background; try again later'
    Please suggest.
    Thanks,
    Naresh

  • Can we able to see the Work Items status in the BPM Workspace

    HI,
    Can we able to see the work item status in the BPM workspace.
    For exampls, I have create the request as requester then it will go for approval.
    After sometime i login into the workspace can i able to see my request status(it mean where it is like approval1, approval 2)?
    Pls let me know, its possible in the BPM workspace.
    Regards,
    Anandh P

    Hello Anandh,
    You can utilse the filter option of the BPM workspace.
    When you filter the instances you can view the status of all the instances even if they are currently not assigned to the particular user.
    All you need to do is click on the show filter link.
    Select the process from the Filter by: combo box.
    Check the status boxes and click on apply filter.
    You will be able to view the instance even if it is not assigned to you.(Though you will not be able to work on it.)
    If you wish to give custom messages like "pending with HR" or "Pending with Admin" then you need to add a column by creating a project variable and mapping it to the custom view. Then these messages can also be shown on the instances.
    Hope ths helps.
    Regards,
    Jaydev Doshi

  • WS20000075: work item of 1st release step stays in status In process

    Hi All,
    I have activated and set up standard flow WS20000075 but the work item of 1st release (PO release strategy with 3 levels) step stays in status In process. The work item for the 2nd and 3rd release step are completed as expected.
    What could cause only the work item of the 1st release step to stay In process?
    Thanks a lot in advance

    Hi,
    I cannot see in what field the release code is filled in EKKO.
    See here SWEL after 1st release:
    And SWEL after 2nd release:
    EKKO after 1st release
    EKKO after 2nd release
    release strat
    Release strategy

Maybe you are looking for