Email Script Token only displaying some field values | Community
Skip to main content
Alex_Firtl
Level 2
Jul 24, 2019 5:08 PM UTC
Question

Email Script Token only displaying some field values

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
Jul 24, 2019 6:44 PM UTC

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.

Translate
Alex_Firtl
Level 2
Jul 24, 2019 6:52 PM UTC

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}              ‍
Translate
SanfordWhiteman
Level 10
Jul 24, 2019 7:02 PM UTC

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.

Translate