Pull reference variable value into email notification

nicolemccray
Tera Expert

I'm trying to pull in the display value of my reference variable 'vend_name', but will not work.   The 'Requested For First Name' is pulling in as expected:

Hello ${request.requested_for.first_name},

Your request for a New Mexico Non-Taxable Transaction Certificate (NTTC) for ${current.variables.vend_name.getDisplayValue()} has been completed. Please find attached the certificate for your use.

1 ACCEPTED SOLUTION

Nicole, you don't need to use a mail script and that is causing the extra line.   Use the following instead:


Hello ${request.requested_for.first_name},


Your request for a New Mexico Non-Taxable Transaction Certificate (NTTC) for ${request_item.variables.vend_name} has been completed. Please find attached the certificate for your use.


Thank you,


View solution in original post

22 REPLIES 22

Screen shot:



find_real_file.png


Hi Nicole,



does it come through on email the same way as the preview? if so you may need to convert it to HTML to have more control


Yes, it appears like this in the email:



Hello Nicole,


Your request for a New Mexico Non-Taxable Transaction Certificate (NTTC) for


NORTH CAROLINA


has been completed. Please find attached the certificate for your use.


Thank you,




How do I convert?


Hi Nicole,



Looks like you already have it set to HTML, here is a great tool i sure to help me create my Notifications: https://html-online.com/editor/


Nicole, you don't need to use a mail script and that is causing the extra line.   Use the following instead:


Hello ${request.requested_for.first_name},


Your request for a New Mexico Non-Taxable Transaction Certificate (NTTC) for ${request_item.variables.vend_name} has been completed. Please find attached the certificate for your use.


Thank you,