I have a batch process which reassigns owner of an account based on certain conditions. Now i need to also send emails to previous owners of the account that the account is been reassigned. What is the best way to do this?

Is there someway we can utilize which is email notification available on salesforce while transfer of ownership?

If writing a code to send email is the only way out, what should be the best practice while sending emails from a batch process.

1 Answer 1


Now is only idea for such functionality:


In my opinion sending emails from code (in finish method ) is best way. It also let you send notification to administrator that some accounts have new owners.

If you want to do it by workflow you would need additional field, new send email action and new field update.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .