and not reports) to different users.
I thought of having two checkbox field (one for week, another for day) in the Activity which will be checked by a trigger if the date of an event is changed. After sending each email the checkbox should be unchecked as I don't want those event to be repeated in the different lists over and over.
Thanks you for your help!
1 件の回答
Hope,
Instead of a check box, I would probably use a date/time field to when the change occurred. This way you can calculate which ones need to go out when your APEX code sends out an email. If your APEX code is a batch that runs daily, then I might also create a custom setting (or Custom Metadata Type) to hold the last time the report ran so I could use it for comparison to the changes.
Good Luck!
John