AnsweredAssumed Answered

How do you access the most recent item in a custom object?

Question asked by 3b1d4ce67a54c1c26b839a56d0bf2ffc545d0a86 on Jul 5, 2018
Latest reply on May 14, 2019 by Sanford Whiteman

We use custom objects to store data pertaining to our customers' homes.


Since a customer could own more than one home, the result is multiple items (or homes) in the "propertyDetails" custom object.


Whenever I use scripted email tokens to populate an email with this data, it uses the oldest item.


Here's the Velocity script that Marketo uses by default:




Can this script be changed to reference the most recent item's Street Address?


Thanks in advance!