<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Raju Omkaram</b> &lt;<a href="mailto:romkaram@gmail.com">romkaram@gmail.com</a>&gt;<br>Date: Dec 20, 2006 2:56 PM
<br>Subject: Send mail task not working for multiple e-mail ids<br>To: <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><br></span>
<div>Hello all,</div>
<div>&nbsp;</div>
<div>I have issues with send mail task in the workflow. I used this step at different clients on different versions but never had problems with it. I am not sure what seems to be going wrong here.</div>
<div>&nbsp;</div>
<div>This is a very basic scenario of sending e-mails from workflow.</div>
<div>Scenario A: Created &#39;Send Mail&#39; step within workflow . Recipient type &#39;E-mail address ; for E-mail address: I assign BUS object attribute which contains several e-mails. For binding I pass BUS attribute with multiple e-mails to Addressstrings, BUS object mapped to task WI object. Binding check is fine but workflow ends with an error 
<p>&quot;Work item 000001787176: Object 000001787176 method SWW_BI_EXECUTE_S cannot be executed&quot;. The same &#39;Send task&quot; works for single e-mail though.</p>
<p>&nbsp;</p>
<p>Scenario B: Created a task with a method to send e-mail (the old way), when I run the method online it works just fine and sends e-mail to all from the object attribute. The same method within the task which is marked as &#39;background&#39; does not work. I thought may be WF-BATCH is an issue. Wrote a small program which submits the method in the background with user = WF-BATCH&nbsp; then it works. Alternately, I put the code as part of approval step which is a &#39;dialogue&#39; then it works fine too. 
</p>
<p>&nbsp;</p>
<p>Question: why is &quot;send Mail&#39; for multiple e-mails dos not work in batch?</p>
<p>&nbsp;</p>
<p>Thanks for your help.</p>
<p>&nbsp;</p>
<p><span class="st" id="st" name="st">Raju</span> Omkaram</p></div>