MyToken issue when one record has multiple Meeting Dates
Hello,
#if( !$display.alt($Activity_Marketo__cList.get(0).Appointment_Start_DateTime_Text__c,"").isEmpty() )
#set ( $Appointment_Start = $date.toDate("MM/dd/yyyy hh:mm:ss a", $Activity_Marketo__cList.get(0).Appointment_Start_DateTime_Text__c) )
${date.format("MM/dd/yyyy", $Appointment_Start)}
#end
We are adding above velocity script code to retrieve meeting details in the email content. But the emails are fetching the first available meeting date and not fetching the correct meeting date as per the campaign conditions as one record has multiple meetings.
How can I displayed the date as per the Smart campaign's date conditions such as StartDateTime (data type=datetime) in future after 7 days.
The field I am using in the velocity script is Appointment_Start_DateTime_Text__c(Data Type=Text).
Appointment_Start_DateTime_Text__c and StartDateTime both have the same value just the data type is different.