AnsweredAssumed Answered

Add custom object details to email

Question asked by Sheila McGrath on Apr 16, 2019
Latest reply on Apr 16, 2019 by Sanford Whiteman

Right now I have 1 Custom Object that contains 2 data points that I need to add to an email via a token. How do I use Velocity to accomplish this? The Custom Object is "Account" and I need the Maturity Date and Product Code of that Account IF the maturity date is in a specific date range. For instance, only insert into email if Maturity Date is between 4/22/19 and 4/30/19. Once that maturity date is inserted, I need the corresponding Product Code for that Maturity Date.



Code is currently: ${account_cList.get(0).maturityDate}${account_cList.get(0).productCode}