WS01200003 workflow is hanging.

Dear all workflow expert,
I have a leave request workflow which is customize where i include this WS01200003 workflow in my customize workflow. This is to find and lock employee record so that it can upldate the infotype. It is working fine in my development. However in my production, when executing this workflow WS01200003, after successfully performing the find employee, it just stop at the lock employee task (TS20000150), with no error and just showing the status waiting there.
I had maintain all the agent as well as my employee is not lock backend. Why it only work in my development but not production. If this is a standard task, it should be works in both right?
When i compare the task in SWI1 for task TS20000150, there are some different.
             Production         Development
Status    :  Waiting            Completed   
Done On   :  31.12.9999         06.12.2007
Agent     :  No Agent Avilable  Workflow System
Aynone can help please...??
Thanks
Regards,
Bryan
Message was edited by:
        Brian Lee

Hi Sankar ,
Thanks for your reply, the workflow is general in production server. But it still hanging there.
I am using the standard task 20000153 with object EMPLOYEET and method FINDWITHOUTDIALOG to look for the employee that apply for the leave.
This is a new implementation for workflow, i am afraid there is some config which are not done and cause this error.
IN SWI1, it show that the done date for production is 31.12.9999 and no agent. Apart from the general task, is there any config that need to be done?
Regards,
Bryan

Similar Messages

  • Workflow gets hanged

    Hi All,
    I have a problem in workflow where it gets hanged at some cases . It gets hanged in a user decision step. When i checked the log, comparing with the correctly executed workflow, i found in the step history tab the executed action - Result processing is missing. There a no errors in the log, All the steps have been executed and its in green . This particular step is not executed only in some rare cases . I could not find out the rare cases becoz the same step gets executed perfectly for many cases without hanging. Could anyone explain me about the importance of "Result processing" in Executed action ? And let me solve this issue...
    Thanks & Regards,
    Kevin.

    Hi,
    Thanks for your replies.
    The problem was there was a dump in ST22 with user WF-BATCH . It is Time out dump in a background program  "SAPLRHAS ".
    This has to resolved by extending the maximum execution time limit of the job . This is to be done by basis people.
    Regards,
    Kevin.

  • Workflow builder Hanges on saving to Database

    hi friends ....
    I am using workflow 2.5......while i was done with everything....................i choose File ->save as -> database .....then i have given username and password with connect string.....
    I am connecting to Oracle R12 with Apps account.......
    After I pressed OK button...it just hangs out.......for 10 minutes....and then I have to go to task manager and kill its process
    but when I connect to database for opening a file.....it is connecting without any errors.....
    please help me....how to save ,,in database without this ??

    Do not use the builder to save directly to the database, specially if your workflow definition becomes large. Instead, save the file locally and ftp it to the server and use WFLOAD to upload it into the database. It is much faster.
    Check the WF Administrator guide on how to use it, but here it is anyway:
    The Workflow Definitions Loader program is located on your server in the bin subdirectory of the Oracle Home directory structure
    Run the program from your operating system prompt as follows (replacing <username/password@database> with the username, password and Oracle Net connect string or alias to your database):
    To apply a seed data upgrade to a database from an input file, type:
    wfload <username/password@database> <input_file>
    To upload process definitions from an input file to a database, type:
    wfload –u <username/password@database> <input_file>
    For instance
    WFLOAD -u owf_mgr/<password> MYWFDEF.wft.
    Regards,
    Alejandro

  • Workflow is Hanged ?

    Iam Working on PO Workflow. Initially The  Workflow is Working fine. Now It is Hanged. How can i solve the Problem.
    Please guide me to solve the problem?

    Hi Akash
      Check from the log SWIA which step its hanging. Might be short dump would have occured. Check in ST22 for dump details.
    Regards
    vijay

  • Workflow is hanging

    Hi all,
    I am encountring a strange problem, i haev developed workflows for leave application and all of them are working fine in client 100 now we have moved to client 120 and over here i am encountring the problem i.e my workflow gets trigred but it doesn't directs the task to the user, ithe first step in my workflow is to send an email notification which is working but in the next step where the manager has to approve the request the task doesn't appears in the manager's inbox, can anyone help me on where i went wrong as i am maintaing the same configurations as i maintained in client 100.
    Regards
    Saurabh Anand
    PS : points will be awarded to the helpful answers.

    Hi,
    How are you determining your responsible agents. Try to find out from the workflow log if there are any responsible agents for the workitem. All agents listed here shud have the workitem in their inbox. If it says "No agent assigned" try clearing the buffers once using transaction SWU_OBUF. If the workitem status shows "In process" then check for any dumps in transaction ST22.
    Thanks,
    Prasath N
    P.S: check your task classification setting in transaction PFTC under Additional Data --> Agent Assignment --> Maintain check whether the same setting has been done in your new system also.
    Message was edited by:
            Prasath Natesan

  • 1 step workflow hangs following client copy

    Hi. We are using SRM 4 with the basic 1 step approval workflow.
    We just copied our live system to make a new test system and I have run all the BDLS / attribute replace jobs and such like. I have also scheduled the RSWWCOND / RSWWHEX / RSWWERRE jobs.
    We can create a cart no problem and the workflow starts and goes for approval, and the approver can press the approve button.
    However, after approval the workflow just hangs in processing state.
    The cart does not change status to approved and there are no errors in the workflow.
    Does anyone have any ideas what might be missing?
    Thanks a lot for your help,
    Dave.

    Hi David,
    Check for issues in txn -SM58/SM21. Also use txn SWU3 to check if all the automatic customizing is done correctly. Try synchronizing the wf-batch password in this txn.
    Regards,
    Sanjeev

  • Workflow Hanging

    Hi,
    I have a Workitem( for a background task ) which is in Status 'In Process'  from a long time. basically the Workflow is Hanged.
    Is there any way i can complete the workitem and Workflow will continue from this point.
    Its urgent issue.
    Thanks in Advance...
    Vaibhav

    Hi,
    Due to system crash or some other reason, the workflow & Workitem is in status ' In Process' . So i am not able to use SWPR, as the workflow is not errored out.
    If i manually complete the workitem using SWIA,
    Will the method be called and the container elements be filled out  ?
    Or simply the status will be changed to completed and workflow will continue ?
    Please advice as this i need to do in Production system.
    Do i have to change the Container element values also, as this workitem will get the agent names.

  • Send email from workflow using a variable in the to field in SharePoint Online (Office 365)

    I have a simple sharepoint workflow that sends and email to users.  I know that the mail portion works because I can put a user's email address in the to: field and it sends fine.  If I use a string variable with the email address, I get a workflow
    error.
    Simple steps to repro for me:
    Create a new workflow in SPD  (I have tried a list workflow and site workflow)
    Create a workflow variable named email.
    Set the variable to an email address where the user is in the site
    Send email and do a variable lookup to the email variable just set.
    The workflow just hangs in this scenario
    I do get an error:
    Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP BadRequest to https://[tenant].sharepoint.com/_api/sp.utilities.utility.SendEmail
    Correlation Id: 568e9c68-ea75-d057-ab9f-d86f6cae3021 Instance Id: 9cc721a4-78e6-456f-812b-67351dfc9710
    The e-mail message cannot be sent. Make sure the e-mail has a valid recipient.
    Retry now

    Simple answer... When I used the variable, I marked it as a string.  There is an email address setting.

  • Error in SAP standard workflow ddoStart - Start document distribution

    Hi all,
    I'm trying to use the document distribution but i'm failing completely. After doing what i think is the necessary config (setting all relevant tasks to general task should be all), i try to distribute. I create a list, selects people and click go.
    When checking the log for the distribution later on, all workflows generated hang in the same place - namely the case branch before "check document distribution".  Further on, the "check distribution order" task does have three potential outcomes after calling the business objects corresponding method. The problem is that the method "check" of bus1082 (doc. dist. order) does not return a check value as a parameter, even though it has a result internally.
    I suspec i'm missing something here, but the wf still bombs out.
    Tips and tricks guys?
    Espen

    HI all,
    Problem is identified and a solution is found. THe businesss object's methods for distribution order did not have the flag for result parameter ticked. Opening up the standard SAP objects, tick the box and voila - it works.
    Still puzzles me how SAP did release this. Didnt they test?
    Espen

  • Wait for event step without callback

    Hi All,
    In 4.6C I have the following problem:
    We have a workflow that has a fork with 2 branches, with 1 necessary for continuing the fork.
    One of the branches has a dynamic parallel processing step on a multiline container element, where each parallel process is a wait for event step. For example if the multiline element has 5 records, than there will be 5 parallel wait for event steps on this branch, and if all 5 are completed, then the workflow continues after the fork and the other branch should be logically deleted (normal behaviour).
    The other branch has a single wait for event step, if this event is received, the other branch's parallel wait for event steps should be deleted to continue.
    The problem is that when the event for the latter single wait step is received, the step gets completed, but sometimes the parallel wait for event steps on the other branch are not deleted and the wokflow does not continue. The completed wait for event step shows that the callback is not completed yet.
    I tried to fix these steps in SWPC, but in 4.6C it does not work for wait for event steps w/o callback. There's an OSS note for higher releases where this is fixed to enable SWPC for wait for events, so I copied it to a custom program and use that right now.
    First question is why does the system not continue these workflow's when the event is received? My guess is that the tRFC calls get stuck and when the tRFC job reprocesses the entries, it does not do it correctly. For example lately we had a tablespace problem that caused some tRFC calls to go into error. The waiting steps in the instances were completed w/o callback. I reprocessed the tRFC entries, which created new entries in the Workflow logs showing that the events are received, but the workflows still hang.
    Second question, it takes a lot of time to logically delete those parallel wait for event steps. When the event for the single wait for event is received and the workflow continues w/o problem, it may take tens of minutes from the receipt of the event until the parallel wait for event steps get deleted and the WF continues. Why does it take so long?
    Thanks,
    KK

    Hi,
    Regarding the delay and the hundreds of thousand SWW_CONT updates... the main workflow on one branch does a dynamic parallel processing of a subworkflow using a multiline container element that can have 50 or even 100 elements. So we can have 50 or even 100 subworkflows waiting for their event to be triggered.
    The main workflow container contains many elements, some multiline with long structures, so in one instance the main flow had 8000 entries in SWW_CONT (each field of a structure is a separate record in SWW_CONT).
    Now if I do the math, when this workflow loads all the container elements of the main flow into the 100 waiting subflows before deleting them and continuing along the other branch, it creates 100 times 8000 entries in SWW_CONT, that is 800.000 inserts!
    And this was ONE single workflow.. Imagine when we have just a few hundred and they all want to continue at the same time...
    Anyway, the beauty comes now....
    I created a simple main flow with a single multiline import parameter USERS of object USER. It has a fork with 2 branches, 1 enough to continue. One branch is a user decision with 1 option: Continue. The other branch has a subworkflow and it does dynamic parallel processing with the multiline element USERS.
    The subworkflow has one single import element USER of object USER. It has only one step, a wait for event, waiting for the DELETED event of the USER object.
    That's the scenario.
    When I start the main flow, filling the USERS parameter with two user objects, on the first branch it starts the two parallel waiting subflows with one user each, and I get the decision step on the other branch. If I check the subflow containers this time, they only have one USER object each.
    Now if I complete the user decision, the workflow continues, logically deletes the subflows and completes. If I check the subflow containers after this, they all include the USERS multile container element with all the USERS I started the main flow with!
    So this time it was a different main flow, different subflow, different events. I guess there can't be any custom code doing this, unless there's some generic workflow user exit somewhere.
    Feel free to test this yourselves if you have 4.6C, quite easy scenario. Guess I'll try in ECC 6.0 too just to see...
    And I'll report to SAP for sure.
    Regards,
    Krisztian Klausz

  • Agent determination of 'general' task fails....

    I have  a task in the workflow which i have kept as general task
    I have attached a rule to it.
    when the rule doesnt return any agents, the workitem is sent to all the SAP users
    this is a very big problem, could you please suggest how to prevent that ?
    if the rule doesnt give any agents then the workflow should hang, it should go to all the SAP users.
    thanks and regards,
    Dipti

    Hi Imthiaz,
    I have already checked the workflow log and I  know very well why my workflow is in error.
    My requirement is that even if  the workflow goes into error,  this message entry should not be created.
    As per my knowledge, this is created in workflow administrators inbox due to setting in SWU3 -- Schedule Background Job for Work Items with Errors
    But it doesnt look like the above settings effects this message creation. There should be some setting somwhere right ?
    Also, it is only in quality system not dev
    Dev -- workflow goes in error -- no message seen
    QA -- workflow goes in error -- message seen in workflow initiators inbox
    please help.....
    thank you
    regards
    Dipti
    Edited by: dipti on May 6, 2008 6:30 PM

  • Worklfow processing stopped

    Hi,
    In customized PO release strategy workflow processing is not completed in each level.[Its showing 'in process' status].
    Only i customized added container operation step[Tried both inside the folk step and tried after the folk]Both places process is stopped
    Not only container operation instead of this i tried mail step also,Now its stopped in mail step.[Process is stopped and all approval level are 'IN-PROCESS'' status only..
    Workflow completely hanged...
    Please give your valuable suggestion...
    Thanks,
    Ragavendran
    Happy new year to all

    For eg take 3 levels of approval each level should completed,But here it's entering into one of the terminating event afterwards its not proceeding further to container operation or mail step(I tried both).(Not throwing any error but status in 'IN PROCESS'')
    So the WF control not moves further. Can you check what about the status of the approval workitem, is it completed or In-Process? . If it is in-process, then check in SWEL, terminating event has corresponding receiver
    Also can you check any entry exist in SWPC? and  refresh the buffer 
    Vinoth

  • Problem with black in exported .pdfs

    Hi all.  I'm very new to working with InDesign, so please forgive me if I don't know all of the appropriate terminology.  I had a 42 page .indd file that I exported.  The reason for exporting was so that I could then open up the pdf pages in photoshop and individually rename/resave the pages.  The text in InDesign is in 100K black.  When I open the .pdf in photoshop, the black now has a mixed CMYK value.  This is causing all manner of stress at the printers.  Is there something I need to do in .pdf exporting that will preserve to value of the black as 100K?

    Aggghhhhhhh, Don't Open a PDF in Photoshop, Don't Open a PDF in Photoshop, Don't Open a PDF in Photoshop.Find a decent printer how can take a ID file...ok, ok, your using some "Put Daniel out of business online print source..."
    Never mind, its all fine...it's their problem, they can trap that rich black type...rename all the pages...that's a riot, but not easy..
    1 - Acrobat>Document>Extract Pages>Ectract as Seperate Files
    Hmmm, do you or the "printer" have Acrobat Standard?
    It's not that I don't feel your pain, Daniel, but maybe ms. brushmistress thinks that she has a valid reason for running PDFs through PS?
    Depending on what you're trying to do, brushmistress, there's probably a faster way to do it through InDesign. F'rinstance, I just Googled
    indesign script save pdf as individual pages
    and the first few links all looked really promising. A script to export single page as PDF, a free utility for exporting multiple pages as single files... you may want to take a look. It'll probably save you a lot of clicking time, and some printer somewhere (maybe Daniel, maybe someone else?) can breathe easier, or at the least forestall an apoplectic fit.
    If that's not what you're trying to do, just ask us; there's a scary amount of InDesign workflow expertise hanging out on these forums.

  • WS14500028 BADI WF for Bid Invitation:  No workitem is sent to the inbox

    Hi All,
    I was tasked to troubleshoot the existing workflow of the client.  The workflow was able to determine the approver who will receive the workitem for his/her approval. However, the workitem is not seen in his inbox.  Since there has been no workitem passed on to the approver's inbox, the workflow stays hanging and the document could not be converted to PO and Confirmation.
    What do you think may cause the problem? Does it also involve the implemented BADI? Does the BADI only determine the approver or does it also control the workitem to be passed to the approver?
    Please let me know your recommendations and suggestions to this problem.
    I'll generously reward points for helpful answers.
    Kindest regards,
    Reymar

    Hi Masa,
    How are you?
    I think I've met you before here in the Philippines (I just started learning workflow that time). 
    I was able to do those steps. However, the log says that the BADI WF for BID Invitation No. xxxx, GUID xxx has a waiting status and there is no icon present under the agent column.
    What do you think is the problem?
    Thanks for your response.
    Regards,
    Reymar
    Edited by: Reymar Ellazo on Mar 12, 2008 11:57 AM

  • Completion worlflow -Subworkflow not triggered

    Hi
    i have an issue in completion workflow WS14000044,
    A)when requestor creates cart and the completion workflow gets triggered which results to route the cart to buyer.
    B) After buyer does the sourcing, the cart backs to requestor.
    Up to here the completion workflow works fine.
    Here my issue is , when cart backs to requestor from buyer it has to go to the Employee in box with status "In your Inbox" but the subworkflow responsible for employee in box is not triggered ,the task responsible for the work flow is TS14007938.
    So as a result of this my workflow gets hanging in half the way.
    I dont know why the workflow gets hanged and how to identify whats the cause for it?
    Please advice me if anyone have ever come across this kind of issue.
    Thanks,
    Sibi

    Hi Sibi,
    Please check the following:
    Stuck remote function calls: SM58
    System dumps: ST22
    Stuck update requests: SM13
    System log: SM21
    Run a consistency check on the workflow: SWUD
    ->e.g enter task '14000044' and hit enter.                             
      ->choose 'Test Environment' and flag 'Including parts'               
        ->execute                                                          
          ->choose 'Consistency check for components' and flag 'Including subworkflows'                                                  
            ->execute 
    Do you see any error messages?
    Kind regards,
    Siobhan

Maybe you are looking for