function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ricardo Aguilar 4Ricardo Aguilar 4 

Get WhoID emails from Tasks using Flows

Hello,
I want to get the MULTIPLE contacts records form the field WhoID in a Task and store them in a record variable, using Flows. The thing is that the "Get records" element seems not to be able store records in a Record Collection Variable. I wonder if I am doing anything wrong or if there is any other easier way to achieve this. I'd appreciate any help!

PD: What I finally want to achieve is to get all contact emails from the WhoID field and use them to update a field or send a notification.

User-added image
Phil MurrayPhil Murray
The WhoId only stores 1 value. After saving the task, records are added to TaskRelation and TaskWhoRelation (a filtered view of TaskRelation).  You can query TaskWhoRelation for the RelationId (Id of the Contact) for the given TaskId.