<div dir="ltr"><div><div><div>HI All<br><br>I have solved this problem with below two fixes<br><br></div>1) Removed the  customfields from workflow email templates which hv been deleted from layout manager. Thank you for this clue.<br>
</div>2) Wrong php executable location given in vtigercron.sh. That can be my fault.<br><br><br></div>Thanks again for all of you<br><br><br>Regards<br>Sutharsan Jeganathan<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Jun 17, 2014 at 9:51 PM, Sutharsan Jeganathan <span dir="ltr"><<a href="mailto:ajstharsan@gmail.com" target="_blank">ajstharsan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div>Hi Uma<br><br></div>Thank you.  Your comment can be a good reason for the workflow failure. <br><br>Unfortunatly, I have removed all the custom fields I have in the sales order workflow in email and tried it. But still no luck<br>

<br></div>My Cron returns below. I wonder whether anything wrong in this area<br><br>

<p class="MsoNormal">[CRON],"1403021043.87",<a href="http://192.185.77.182/%7Epowerfir/,Instance," target="_blank">http://powerfrm.lk/~powerfir/,Instance,</a>"2014-06-17
16:04:03","",[STARTS]<br>
[CRON],"1403021043.87",<a href="http://192.185.77.182/%7Epowerfir/,Workflow," target="_blank">http://powerfrm.lk/~powerfir/,Workflow,</a>"2014-06-17
16:04:03","",[STARTS]<br>
<br>
[CRON],"1403021043.87",<a href="http://192.185.77.182/%7Epowerfir/,Workflow," target="_blank">http://powerfrm.lk/~powerfir/,Workflow,</a>"2014-06-17
16:04:03","2014-06-17 16:04:03",[ENDS]<br>
[INFO] RecurringInvoice - not ready to run as the time to run again is not
completed<br>
[CRON],"1403021043.87",<a href="http://192.185.77.182/%7Epowerfir/,SendReminder," target="_blank">http://powerfrm.lk/~powerfir/,SendReminder,</a>"2014-06-17
16:04:03","",[STARTS]<br>
<br>
[CRON],"1403021043.87",<a href="http://192.185.77.182/%7Epowerfir/,SendReminder," target="_blank">http://powerfrm.lk/~powerfir/,SendReminder,</a>"2014-06-17
16:04:03","2014-06-17 16:04:03",[ENDS]<br>
[CRON],"1403021043.87",<a href="http://192.185.77.182/%7Epowerfir/,MailScanner," target="_blank">http://powerfrm.lk/~powerfir/,MailScanner,</a>"2014-06-17
16:04:03","",[STARTS]<br>
No mailbox configured for scanning!<br>
[CRON],"1403021043.87",<a href="http://192.185.77.182/%7Epowerfir/,MailScanner," target="_blank">http://powerfrm.lk/~powerfir/,MailScanner,</a>"2014-06-17
16:04:03","2014-06-17 16:04:03",[ENDS]<br>
[CRON],"1403021043.87",<a href="http://192.185.77.182/%7Epowerfir/,Scheduled" target="_blank">http://powerfrm.lk/~powerfir/,Scheduled</a>
Import,"2014-06-17 16:04:03","",[STARTS]<br>
<br>
[CRON],"1403021043.87",<a href="http://192.185.77.182/%7Epowerfir/,Scheduled" target="_blank">http://powerfrm.lk/~powerfir/,Scheduled</a>
Import,"2014-06-17 16:04:03","2014-06-17 16:04:03",[ENDS]<br>
[CRON],"1403021043.87",<a href="http://192.185.77.182/%7Epowerfir/,Instance," target="_blank">http://powerfrm.lk/~powerfir/,Instance,</a>"2014-06-17
16:04:03","2014-06-17 16:04:03",[ENDS]</p>

<br><br></div>Appreciate your help<br><br><br>Thanks<br>Sutharsan Jeganathan<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 17, 2014 at 3:06 PM, Uma S <span dir="ltr"><<a href="mailto:uma.s@vtiger.com" target="_blank">uma.s@vtiger.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>This might be a case, have you created any custom field for salesorder module? which is included in mail but deleted from CRM. In which case this might break.</div>

</div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Tue, Jun 17, 2014 at 10:26 AM, <a href="mailto:ajstharsan@gmail.com" target="_blank">ajstharsan@gmail.com</a> <span dir="ltr"><<a href="mailto:ajstharsan@gmail.com" target="_blank">ajstharsan@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:12pt;font-family:Calibri,sans-serif"><div>Hi</div><div><br></div><div>Thanks,</div><div><br></div>



<div>I checked the table , the record is there and out going server is already configured.</div><div><br></div><div>But the mail is not sent.</div><div><br></div><div>I am in 6.1</div><div><br></div><div>Is there any other place to check?</div>



<div><br></div><div><br></div><div><br></div><div><br></div><div>Sent from my HTC</div><div><div><br><div>----- Reply message -----<br>From: "Rishab K" <<a href="mailto:rishab.k@vtiger.com" target="_blank">rishab.k@vtiger.com</a>><br>



To: <<a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.vtigercrm.com</a>><br>Subject: [Vtigercrm-developers] Vtiger 6.1 Workflow send email is not working<br>Date: Tue, Jun 17, 2014 09:55</div>



</div></div></div><div><div><br><div dir="ltr">Hello Sutharsan,<div><br></div><div>Send email task within workflows works fine for me.I created a Workflow under salesorder module with conditions.</div>

<div><br></div><div>Step 1:Every save of record.</div>
<div>Step 2.Field value conditions</div><div>Step 3.Send email with respective fields pertaining to respective field values.</div><div><br></div><div>As soon as I saved the invoice waited for 15 min as the cron was setup for 15 min and then received the mail with fields values.</div>




<div><br></div><div>One quick way to troubleshoot is to check the entry of com_vtiger_workflowtask_queue of your databse, to see if the entry for saved Salesorder record is created or not!!</div><div><br></div><div>Not to mention ,but you should have your Outgoing server configured in the CRM.</div>




<div><br></div><div>Thanks</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 17, 2014 at 8:27 AM, Sutharsan Jeganathan <span dir="ltr"><<a href="mailto:ajstharsan@gmail.com" target="_blank">ajstharsan@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi<br><br></div>I can see the vtiger 6.1 with workflows working. <br><br>I have added the cron and it is also working.<br>




<br></div>But in a workflow under Sales order module, the email is not sent. But within the same workflow other tasks are fine, example updating fields.<br>
<br><br></div>I couldn't see any updates under workflow module through SVN<br><br></div>Is this feature still pending?<br><br><br></div>Thanks<span><font color="#888888"><br>Sutharsan Jeganathan<br></font></span></div>





<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div>

<br></div>-- <br><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></font></span></blockquote></div><br></div>
</blockquote></div><br></div>