Hi Trailblazer Community,
We are implementing a data retention policy in Salesforce where we want to anonymize non-ungaged leads, contacts and its related records based on some criteria we will have. After some tests this is working fine in terms of anonymize the email, first name, last name, company name and other sensitive information.
However, there is still the activities being shown in the records, like emails exchanged, meetings. That is why we are wondering how we can delete these activities using a flow?
The idea would be basically:
IF a record (lead or contact) is set as non-engaged in the custom field we have,
THEN delete all activities related to this record.
We have some doubts about how SF considers such activities. Are they events, tasks? We did some tests, but they did not work.
Therefore, we would like to see if anyone here already did such flow or worked in a similar project? Any help will be appreciated.
Thanks in advance!
Best,
Lucas Pescador
#Data Management #Activities #Activities Object #Flow #Lightning Flow
