Email triggers with a SEND TO as a formula field does not wo

Posted by Rollbase User on 17-Oct-2011 23:50

I have a formula "String" field that returns a couple space-separated email addresses. I want to use this formula field for the SEND TO in a Send Email trigger. However, when the trigger runs, it does not send the emails.  Debug: Checking trigger: New Task Email (ID=...) Running New Task Email on Task 2: Task 21 (ID=...) Task 2 Task 21 (ID=...): No address to send email message: template={!assigned_to_emails} New Task Email has NOT ran Thanks

All Replies

Posted by Admin on 18-Oct-2011 00:08

Thanks also for the details here Mike. We are tracking this one internally as bug #5141.



Matt

Posted by Admin on 28-Oct-2011 18:15

This may only happen when your template field is empty. Please verify content you your field for particular record.

Posted by Admin on 31-Oct-2011 22:35

I confirmed the formula returns a valid email address.



Please try to create a formula field (string) named test_email_string_fo with this formula:





return "test@test.com";





Then use it as the Send To in a email trigger and run the trigger. The trigger debug says:





.....

No address to send email message: template={!test_email_string_fo}

.....





It's as if the Send To field is not recognizing the token and does not parse it.



Thanks



Posted by Admin on 01-Nov-2011 10:05

OK, got it, will take another look.

This thread is closed