Question
MyToken displays different outputs in the Preview and Actual Testing.
#set($x = $date.calendar)
##$Activity_Marketo__cList.size()
##$Activity_Marketo__cList
#foreach($Meeting in $Activity_Marketo__cList)
#set($Appointment_Start = $date.toDate("MM/dd/yyyy hh:mm:ss a", $Meeting.Appointment_Start_DateTime_Text__c))
#set($is_upcoming = $date.difference($x.time,$Appointment_Start).days)
#set($formattedDate = $date.toDate("hh:mm:ss", $x.time))
#set($splitData = $Meeting.Appointment_Start_DateTime_Text__c.split(" "))
#set($leadHeader = $display.list($Meeting.Appointment_Start_DateTime_Text__c.split(" "),"<br>"))
#if($is_upcoming == 1 && !$Meeting.StartDateTime__c.isEmpty() && $Meeting.Meeting_Sub_Type__c == "Initial" && $display.alt($Meeting.Meeting_Status__c,"").isEmpty() && !$Meeting.Meeting_Origin__c.isEmpty() && $Meeting.Event_Type__c == "Prospect Meeting" && $Meeting.IsChild__c == 0)
$splitData[0] <br>
#set($time = $splitData[1].split(":"))
$time[0]:$time[1] $splitData[2] $splitData[3]
##$Meeting <br>
##$Meeting.Name
##$Appointment_Start<br />
##Meeting SubType: $Meeting.Meeting_Sub_Type__c
##Differences: $is_upcoming <br />
#end
#end
The records are qualified in the Smart campaigns.
We need to fetch the Meeting date after 2 days if all the condition added in the IF conditions satisfied. If we check in the Email preview it shows the correct Date (03/11/2021 01:00 AM PST) but When we run the campaign it shows nothing- Empty space 😞
Records have all the details correct added in the IF condition.
Can somebody please help with this ASAP.