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
SUMAN KUMARI 70SUMAN KUMARI 70 

How to refer attachment in an HTML email template

Hi All, 
Currently whenever a case is created and is closed then a closure email is being sent to the owner. My case has a related list of WorkOrder, so whenever I have to close a case firstly I need to close the workorder record. Now my workOrder record has a notes & attachment related list, so before closing my work order I need to add an attchment to it. 

So the issue is, I need to refer that attachment in my HTML Email template which is being sent out on my case closure but I don't know how to refer that. 

Basically I need to refer my record's related list's(WorkOrder) related list(attachment).

Please do help me out with this. 

Thanks,
Suman