Skip to main content
What SOQL query I need to run on workbench, to get a custom fields last record creation date and record name?
6 respostas
  1. 25 de abr. de 2017, 07:05

    SELECT

    Id,CreatedDate, (field API name)

    FROM

    ( Object name) Where (field API name) != null

    ORDER BY

    CreatedDate DESC

    LIMIT 1

    This query gets the last record created date in GMT format and recocrd name. You can also use multiple filed names comma separated.

     

    Hope this Helps :)

     

    Regards,

     

    Athith Dsouza