Background: This week I had a client who wanted all the members of a queue to receive a notification when a record was added to the queue.
Simple enough, just click the "Send Email to Queue Members" box on the queue and all the emails will go out right?
Nope!
That functionality works with all the queue objects except tasks.
Coincidentally, tasks were the type of record we were working with!
So a workaround was needed, and a flow made the most sense.
I decided to create a record triggered flow to fire when a task record was assigned to this task queue.
When the flow triggered, it would find all the queue members and email them.
Easy.
Prior to working with the transform element, this scenario would require a different approach. I'd use a Get Records to find all the users, then loop through the users and add their emails to a collection variable.
Then we'd use the send email action and include the collection variable of email addresses in the recipient list.
Something like this:
|