<html><head><style type="text/css">body {word-wrap: break-word; background-color:#ffffff;}</style></head><body><div style="font-family: sans-serif; font-size: 16px">Hi Sree,<br>I had same bahviour, another scenario but sane behaviour.<br>Doing a wait in background, after a while (could be few days or more) tends to fail. It depends on session time out. I recommend replacing with terminating event and you should probably use correlation if you should wait till certain parameter gets a specific value.<br><br>Shai Eyal<br>Sent by <font face="sans-serif"><span style="font-size: 14px"><i><font color="#333333">MOTOBLUR&#8482;</font></i></span></font></div><br><br>-----הודעה מקורית-----<br><blockquote style="; border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: sans-serif; font-size: 14px"><b>מאת: </b>sap-wug-request@mit.edu<b><br>אל: </b>sap-wug@mit.edu<b><br>נשלח: </b>שבת, 30 יונ 2012, 19:31:27 GMT+02:00<b><br>נושא: </b>SAP-WUG Digest, Vol 91, Issue 32<br><br></div>Send SAP-WUG mailing list submissions to<br>        sap-wug@mit.edu<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>        <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>or, via email, send a message with subject or body 'help' to<br>        sap-wug-request@mit.edu<br><br>You can reach the person managing the list at<br>        sap-wug-owner@mit.edu<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of SAP-WUG digest..."<br><br><br>Today's Topics:<br><br>   1. Problem with a step in a Workflow - Hanging (Sree S)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sat, 30 Jun 2012 01:57:28 +0530<br>From: Sree S <to2sree@gmail.com><br>Subject: Problem with a step in a Workflow - Hanging<br>To: "SAP Workflow Users' Group" <sap-wug@mit.edu><br>Message-ID:<br>        <CAA_LhgRbJ946n8B1WgNoVT-NJ9+S5E1f6uWMpHqjthsZQEDs5A@mail.gmail.com><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi All.<br><br>I have a problem in a workflow.<br><br>A step in the workflow is hanging, and the status of the step is in process.<br><br>I am deleting the instance of the step using SWUS_WITH_REFERENCE and a new<br>instance is generated and the workflow starts running normally.<br><br>and this happens only in one or two cases out of 100 workflows.<br><br>About the step:-<br><br>the task in the step is a background task, and the method has a while loop<br>where the loop is not terminated until certain values are filled.<br>Values are - Pallet Number, Trailer No( Container Id) from VEPO table..when<br>i run the method individually using SWO1 transaction, the method works fine<br>but when the same process runs in the workflow, the workflow step hangs and<br>status of the step is in process.<br><br>Kindly suggest me how to handle this..<br><br>Thanks,<br><br><br>Sree<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20120630/9d42b823/attachment-0001.htm">http://mailman.mit.edu/pipermail/sap-wug/attachments/20120630/9d42b823/attachment-0001.htm</a><br><br>------------------------------<br><br>_______________________________________________<br>SAP-WUG mailing list<br>SAP-WUG@mit.edu<br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br><br>End of SAP-WUG Digest, Vol 91, Issue 32<br>***************************************<br></blockquote></body></html>