Skip to main content
Alex_Firtl
New Participant
July 24, 2019
Question

Email Script Token only displaying some field values

  • July 24, 2019
  • 8 replies
  • 4335 views

I'm working on building out some Email Script tokens for an email referencing the Salesforce Case object (which is related directly to the Contact in Marketo -- screenshot attached).

This is the Email Script token that is not pulling anything when sampling the email (there is a value in SFDC in this field).

Meanwhile, this token does pull in a value when sampling the email.

Any idea why there's a difference between these two seemingly similar tokens?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

8 replies

SanfordWhiteman
Level 10
July 24, 2019

Let's get some better debugging info.

Add the line

${display.list($CaseList,"\u000a")}

and then preview the Text version of the email in the context of a lead.

Alex_Firtl
New Participant
July 24, 2019

Here's what it returned with that debug code added. I know that the Event_Estimated_Number_of_Attendees__c on this particular record has a value of 50 though.

{Event_Date_Direct__c=2019-07-18, Venue__c=The Ritz Charles - Overland Park,KS, Event_Estimated_Number_of_Attendees__c=null, Event_Registration_Start__c=null, Event_Venue_Contact_Note__c=null, Event_GC_Ticketing__c=null, Event_GC_Sales__c=null}              
SanfordWhiteman
Level 10
July 24, 2019

It's not, though. It's null. Marketo can't lie about that.

Now maybe in SFDC it's 50, but it's synced to Mkto as null.