Trigger send one mail to all department users

Posted by Rollbase User on 13-Mar-2013 05:00

What you recommend how to send email to all department employee? After create/update record trigger send mail to each department employee. I don't know how to put all department employee to "Send to" field in "Trigger properties" section and Send one email to all.

All Replies

Posted by Admin on 13-Mar-2013 05:03

May be you can add new return type like email to Formula field. Formula field return group of email address

Posted by Admin on 13-Mar-2013 11:36

You can actually do it now:

1. Create Formula field which returns group of email addresses separated by space or comma

2. Use template token for that field in "TO" box.



This is documented (see Chapter 10 for more info)

Posted by Admin on 13-Mar-2013 11:37

You can use "Run Triggers on Related Records" Trigger on Department object.

Posted by Admin on 13-Mar-2013 22:58

Thank you Pavel.



Working =)



I thought for field in "TO" put only "Use field" template token.

This thread is closed