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.
May be you can add new return type like email to Formula field. Formula field return group of email address
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)
You can use "Run Triggers on Related Records" Trigger on Department object.
Thank you Pavel.
Working =)
I thought for field in "TO" put only "Use field" template token.