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
cmxintcmxint 

Need email notification after import finished

Hi there!

I have a tool, which imports data from flat .csv-files into customer database objects. What I need is to send email notification to all admins of Org Account about completion of import process. Also I need to attach to this email message logs of work of tool.

I see only one solution: to create workflow rule, which will be programmaticaly set to "true" after tool have finished work and assign workflow task to it. But even in this case how can I attach files for email message, which will be created for notification and how can I send this message to users from User table (not from Account, Contact or other tables)???

May be some of You have more elegant solution for such task? I appreciate any advices