Workflow - Email Issues

Hi Everyone,

We have created a Test Workflow to change the status of a lead, and send an email based using a newly created email template. The first action in the workflow works ie. the change of the status from new to assigned, however the second action which is configured to send an email to the user or an email address does not work.

The workflow process audit shows it is still “Running”. If the email action is removed as an action, the process audit shows complete.

We have tested the email by sending a test mail from within email settings, and it works correctly.

Any suggestions would be most welcome

Jay

Hi Jay,

Do you have a screen shot of your workflow?

Thanks,

Will.

Workflow Screenshot attached

Thanks

Jay

Appears not to have attached.

Hi Jay,

This seems fine. What is being outputted in your sugarcrm.log/error.log?

Thanks,

Will.


Please find .log file attached.

Thanks

Jay

Hi Everyone,

Any feedback on the log. Thanks for help thus far.

Jay

Hi prodatagroup,

The most likely culprit based on all your description of the problem is the “new” email template. Try replacing the selected template with any standard template and see if the workflow generated email is sent.

Cheers

Bruce

Hi Bruce,

The result is still the same. Lead Status Changes, Email Action not working. Process Audit shows “Running”. If i remove the email action, the Process Audit shows “Complete”.

Thanks

Jay

Any Ideas Will or anyone else. All the help is much appreciated.

Jay

Hi Jay,

I have created this workflow and it runs successfully. I believe it is the same as yours.

Thanks,

Will.

Hi Will,

Thank You. Any suggestions after reviewing the log file.

Jay

Hi Jay,

I found the fix described in this post while researching another issue and, according to this post, it is also a fix for workflow emails not being sent.

Well worth a try.

Cheers

Bruce

Hi Bruce,

Thanks for the feedback, unfortunately it has not resolved the issue. still no email, and process audit state still “Running”

cheers

Jay

Hi Jay,

Could you clear sugarcrm.log, and with logging set to DEBUG, try again and post the log.

Cheers

Bruce

Hi Bruce,

Please find attached log file.

Cheers

Jay

Please find log file attached in raw format

Cheers

Jay

Hi Jay,

The latest log that you posted is the same as before. Delete all of the .log files, make sure log level is DEBUG and re-run your workflow. The log file created should have entries for ‘now’, not just up to last Tuesday.

Cheers

Bruce