Hello Thomas,<br><br>Thank you for the reply. I am sorry, I forgot to include this information. We are on SRM6.0 and yes, using process controlled workflows. <br><br>The shopping cart does not route back to the creator before looping to approver. The moment the approver approvers the cart the recall event re-starts the workflow and cart goes back to the approver for approving. The approver has to approve the same cart atleast 7-8times, before the cart goes to next approver. <br>
<br>It is happening only for few approvers (and not all approvers) and only 50% of the time for those few approvers. For all other approvers it is working as desired. Also, this problem is not happening in test system, but only in production.<br>
<br>I went through every line in the code of the custom class methods, and couldn&#39;t find anything incorrect. The code will trigger event RECALL only if the approver was changed or something was changed in the cart. But in this case, the approver is only approving and not changing absolutely anything in cart. Also, the approver is not changed in the tables. So it leaves me clueless !!<br>
<br>Please advice.<br><br>Regards,<br>Snehal<br><br><div class="gmail_quote">On Mon, Oct 5, 2009 at 11:13 PM, BPT Consulting <span dir="ltr">&lt;<a href="mailto:bptconsulting@sbcglobal.net">bptconsulting@sbcglobal.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
<blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;">
<div>


<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">Snehal,</span></font></p></div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;"> </span></font></p></div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">From the template you mentioned, it appears you are in a SRM 7.0 environment using Process-controlled Workflow?  This is important information to include in your email.</span></font>
</p><p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;"> </span></font>
</p><p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">When the Workflow loops, is the Shopping Cart routing back to the creator before routing to approver?  Have you configured the Responsibility Resolver (agent resolution) completely?  If so which agents are you routing to?  </span></font><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">Is the approver the same person as the creator?  These answers could help in solving the problem.</span></font>
</p><p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;"> </span></font>
</p><p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">Regards,</span></font>
</p><p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">Thomas Maue</span></font>
</p><p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;"> </span></font>
</p><div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr width="100%" align="center" size="2">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-weight: bold; font-size: 10pt; font-family: Tahoma;">From:</span></font></b><font face="Tahoma" size="2"><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>Snehal Kutumbale<br>
<b><span style="font-weight: bold;">Sent:</span></b> Monday, October 05, 2009 8:23 AM<br><b><span style="font-weight: bold;">To:</span></b> <a href="mailto:sap-wug@mit.edu" target="_blank">sap-wug@mit.edu</a><br><b><span style="font-weight: bold;">Subject:</span></b> How an event was triggered</span></font></p>
</div>
<p></p><div><div></div><div class="h5"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hello Everyone,</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I have a problem of shopping cart going into loop again and again to same approver. When I check the workflow, it shows that, every time the approver approves the cart, the workflow re-starts. Even though approvers are not changing anything in the cart but simply approving it, the workflow gets re-started. </span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">The template is WS40000014, and event called for re-starting is  &#39;RECALL&#39; of object type &#39;/SAPSRM/CL_WF_PROCESS_SBWF&#39;. In the container data of the event, I can see the event creator as the approver of the cart.</span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I am not able to figure out, how and why this event is getting triggered the moment approver approves the cart. I checked the custom methods for re-starting the workflow, and all I can figure out from that is that unless any changes are done to shopping cart, it won&#39;t trigger the re-start.</span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Could anyone advice, if this could be only due to the customized code, or there is any standard condition in WS40000014. </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Any suggestions will be helpful. </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Thank you.</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Regards,</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Snehal</span></font></p></div>
</div></div><hr>
This e-mail and its attachments may contain Forest Laboratories, Inc. proprietary information that is privileged, confidential or subject to copyright belonging to Forest Laboratories, Inc. This e-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this e-mail, or the employee or agent responsible for delivering this e-mail to the intended recipient, you are hereby notified that any dissemination, distribution, copying or action taken in relation to the contents of and attachments to this e-mail is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify the sender immediately and permanently delete the original and any copy of this e-mail and any printout.<br>
</blockquote></td></tr></tbody></table><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>