When sending a List Email (via Send List Email button), the Subject field on the resulting Task (automatically created by sfdc) has the format:
List Email: (email subject here)
I want to truncate the value of Task.Subject, so that it just says "Email"
I added code to my Task Trigger - and the code works properly for single emails - but when sending a List Email, it seems that the Trigger does not fire. I tried both before insert and after insert Trigger code - but it's not being called. No debug log is created, I tried creating a Chatter message from the code to confirm whether it's firing - but no Chatter message was created from List Email, etc.
Any ideas on this? How is it creating a Task without firing the Trigger? And, how do I update Task.Subject? Thanks for your time.
Hi @Chris Markiewicz you're correct. Send List Email doesn't invoke triggers
If you don't need immediate action and you can wait, you can consider scheduling an apex job/flow that executes the same logic instead of a trigger.