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
kcnmaheshkcnmahesh 

How to get current record values into an Visualforce Email template

Hi..,

 

My requirement is , we need to create an approval process if evwry BOM record is created.

Means we need to send an email if BOM is created for APPROVAL.

In email , also we need to include the related list information of that BOM.

So i created one component and controller

And i created Visualforce email template , in that i invoked Visualforce Component which invokes Controller.

But i am not able to get the current record i.e., BOM which is newly created.

I am not getting logic to get new record values.

Can anyone help me on this plz....?