<div dir="ltr">Thanks everyone for your reply. <br><br>I am currently testing by adding 10 seconds wait before the first step. I can&#39;t use event queue as we need to start the workflow immediately as soon as sales order is created. Also, I do not see any dump when this happens. <br>
<br>Will keep you posted if this wait step approach doesnt work.<br><br>Regards,<br>Sudhir<br><br><div class="gmail_quote">2008/9/29 Srinivasan Ramanan <span dir="ltr">&lt;<a href="mailto:r_m_n_n@hotmail.com">r_m_n_n@hotmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
If your SAP release permits event queue, please enable it. Check if your SAP release has this checkbox in SWETYPV txn.<br><br><br>

<hr>
<br>
&nbsp;<br>
From: <a href="mailto:mkhanna@sapient.com" target="_blank">mkhanna@sapient.com</a><br>To: <a href="mailto:sap-wug@mit.edu" target="_blank">sap-wug@mit.edu</a><br>Date: Mon, 29 Sep 2008 08:45:54 +0530<div><div></div><div class="Wj3C7c">
<br>Subject: RE: Workflow is not triggered properly.<br><br><br>







<div>
<p><font size="2" color="blue" face="Arial"><span style="font-size: 10pt; color: blue; font-family: Arial;">Sudhir,</span></font></p>
<p><font size="2" color="blue" face="Arial"><span style="font-size: 10pt; color: blue; font-family: Arial;">&nbsp;</span></font></p>
<p><font size="2" color="blue" face="Arial"><span style="font-size: 10pt; color: blue; font-family: Arial;">We also faced similar problems and avoided by inserting a wait step (up to 30 sec) as the first step in the workflow. </span></font></p>

<p><font size="2" color="blue" face="Arial"><span style="font-size: 10pt; color: blue; font-family: Arial;">&nbsp;</span></font></p>
<p><font size="2" color="blue" face="Arial"><span style="font-size: 10pt; color: blue; font-family: Arial;">Rgds</span></font></p>
<p><font size="2" color="blue" face="Arial"><span style="font-size: 10pt; color: blue; font-family: Arial;">MK</span></font></p>
<p><font size="2" color="blue" face="Arial"><span style="font-size: 10pt; color: blue; font-family: Arial;">&nbsp;</span></font></p>
<div>
<div style="margin-left: 0.5in; text-align: center;" align="center"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">
<hr size="2" width="100%" align="center">
</span></font></div>
<p style="margin-left: 0.5in;"><b><font size="2" face="Tahoma"><span style="font-weight: bold; font-size: 10pt; font-family: Tahoma;">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;"> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Keohan, Susan<br>
<b><span style="font-weight: bold;">Sent:</span></b> Saturday, September 27, 2008 2:07 AM<br><b><span style="font-weight: bold;">To:</span></b> SAP Workflow Users&#39; Group<br><b><span style="font-weight: bold;">Subject:</span></b> RE: Workflow is not triggered properly.</span></font></p>
</div>
<p style="margin-left: 0.5in;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">&nbsp;</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Times New Roman"><span style="font-size: 11pt;">Sudhir,</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Times New Roman"><span style="font-size: 11pt;">I would wonder what release you are on, and also what your first step is dependent on.&nbsp; If the event is raised correctly, and the workflow does start but then sometimes hangs up, perhaps it is that the task couldn't complete due to a timing issue?&nbsp; I'd check the task to ensure that if the data it is looking for isn't there yet, then an appropriate outcome is performed (perhaps you go back to the task, depending on outcome).&nbsp; Or loop until all the sales order data is found.</span></font></p>

<p style="margin-left: 0.5in;"><font size="2" face="Times New Roman"><span style="font-size: 11pt;">The fact that you can successfully start and complete the workflow manually, and that this issue occurs sporadically seem to support that the sales order is not fully updated at the time the workflow task tries to process.</span></font></p>

<p style="margin-left: 0.5in;"><font size="2" face="Times New Roman"><span style="font-size: 11pt;">Just my 2p,</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Times New Roman"><span style="font-size: 11pt;">Sue</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Times New Roman"><span style="font-size: 11pt;">&nbsp;</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">---</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">Susan R. Keohan</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">SAP Workflow Specialist</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">MIT Lincoln Laboratory</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">244 Wood Street</span></font><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;"></span></font></p>

<p style="margin-left: 0.5in;"><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">LI-200</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">Lexington</span></font><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">, MA</span></font><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">. 02420</span></font></p>

<p style="margin-left: 0.5in;"><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">Phone: 781-981-3561</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">Fax:&nbsp;&nbsp; 781-981-1607</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;"><a href="mailto:keohan@ll.mit.edu" target="_blank">keohan@ll.mit.edu</a></span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">&nbsp;</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">&nbsp;</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Consolas"><span style="font-size: 10.5pt; font-family: Consolas;">&nbsp;</span></font></p>
<p style="margin-left: 0.5in;"><font size="2" face="Times New Roman"><span style="font-size: 11pt;">&nbsp;</span></font></p>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p style="margin-left: 0.5in;"><b><font size="2" face="Tahoma"><span style="font-weight: bold; font-size: 10pt; font-family: Tahoma;">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;"> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Sudhir Pargaonkar<br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, September 26, 2008 12:36 PM<br><b><span style="font-weight: bold;">To:</span></b> SAP Workflow Users&#39; Group<br><b><span style="font-weight: bold;">Subject:</span></b> Workflow is not triggered properly.</span></font></p>
</div>
<p style="margin-left: 0.5in;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">&nbsp;</span></font></p>
<div>
<p style="margin-bottom: 12pt; margin-left: 0.5in; margin-right: 0in;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">Hi All,<br><br>I am facing a weird issue that I need to fix soon. When BUS2032 CREATED is raised after a sales order is created, event trace does not show any workitem created. When I check using SWI1, I see that workitem does get created but status shows &quot;In-Process&quot;. And it gets stuck there..<br>
<br>I have attached screen-shots to show this.<br><br>When I manually trigger BUS2032 CREATED event using SWUE, everything works just fine. <br><br>this doesnt happen everytime, but about 5% of the times.<br><br>Any suggestions?<br>
<br>Thanks <br>Sudhir</span></font></p></div></div><br></div></div><hr>Want to do more with Windows Live? Learn "10 hidden secrets" from Jamie. <a href="http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns%21550F681DAD532637%215295.entry?ocid=TXT_TAGLM_WL_domore_092008" target="_blank">Learn Now</a></div>

<br>_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div><br></div>