1

I have a requirement in which when record gets approved in approval process, On final approval action an email sends to an user.

I have a visualforce page which is rendered as PDF I want that visualforce page attached to that email.

How can I achieve this.

Please help me out through this.

--TIA

2
  • Here is a similar SFSE question. Hope this helps.
    – Saroj Bera
    Commented Sep 2, 2015 at 5:59
  • I don't think you can do this out of the box, you need to implement apex logic using trigger.
    – Prakash
    Commented Sep 2, 2015 at 6:05

1 Answer 1

2

You need to create a visualforce email template. Also change your existing VF page to apex:component Then include that in the messaging:attachment inside VF-Email template. See : Adding attachments to VF Email Templates

You must log in to answer this question.

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