{% fetchxml most_recent_track_query %} <fetch version="1.0" output-format="xml-platform" mapping="logical" top="1"> <entity name="musdyn_track"> <attribute name="musdyn_name" /> <attribute name="createdon" /> <order attribute="createdon" descending="true" /> <filter type="and"> <condition attribute="statuscode" operator="eq" value="1" /> </filter> </entity> </fetch> {% endfetchxml %}