You need to sign in to do that
Don't have an account?

How can I send a custom email when a custom object is completed?
Hello, I created a VisualForce page in order to send an email to an email field within my custom object with a PDF attached. To do this I used the recomendations posted here: http://blog.jeffdouglas.com/2010/07/16/create-and-email-a-pdf-with-salesforce-com/
This is working fine, but now I want that to be done when my custom object meets a specific criteria. In my case, when a checkbox is set to TRUE. I tried to do this by creating a workflow, but the options that i see there are to send an email with some infromation shown in the same worflow wizzard. Is there a way to make the worflow to call the Visual Force page I created?
This is working fine, but now I want that to be done when my custom object meets a specific criteria. In my case, when a checkbox is set to TRUE. I tried to do this by creating a workflow, but the options that i see there are to send an email with some infromation shown in the same worflow wizzard. Is there a way to make the worflow to call the Visual Force page I created?
You should be using an APEX trigger to send an email when a checkbox is checked on a record. Something like:
If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.
Thanks,
Shashank