Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › Which fields are accessible in a Trigger.new record without performing a SOQL query in Salesforce?

    Tagged: Account Object, Contact Object, SOQL Query, Trigger

    • Salesforce® Discussions

      Which fields are accessible in a Trigger.new record without performing a SOQL query in Salesforce?

      Posted by Laveena on September 20, 2019 at 12:24 PM

      Which fields are accessible in a Trigger.new record without performing a SOQL query? For example if my trigger is on the Contact object, are fields on the parent Account object (like Account Description) accessible without performing an explicit SOQL query?

      Nikita replied 7 years, 1 month ago 2 Members · 1 Reply
      • Account Object
      • Contact Object
      • SOQL Query
      • Trigger
    • 1 Reply
    • Nikita

      Member
      September 20, 2019 at 12:34 PM

      Hi Laveena,

      You can use Trigger.new to access all non-null fields of the object on which the trigger is defined. You have to perform an explicit SOQL query to access any fields on associated parent or child records.

      For example, if the trigger is defined on Contact, you can only access the Id of the parent Account record (via AccountId) in Trigger.new. You’d need to perform a separate SOQL query to access any other field on the parent Account record (e.g. Description, Industry, etc.).

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Top Salesforce Spring '23 Experience Cloud Features

    Blog in Salesforce

    Salesforce Experience Cloud focuses on accelerating deployment, saving time, fostering great customer engagement, enhancing security, boosting productivity, and fostering collaboration. Let's have a look at…

    Aura Sites, Communities in Experience Cloud, Community Building, Community Cloud, Customer Engagement
    Apphienz Mar 3, 2023
    1,740  Views
    Learn All About the Apex Core Concepts in 2023

    Learn All About the Apex Core Concepts in 2023

    Blog in Salesforce Apex

    Apex code typically contains many things that you might be familiar with from other programming languages. Programming elements in Apex This Image will describe the…

    APEX Programming Language, Apex SOAP API, Apex Tests, Apex Trigger, Apex Triggers
    SF Jan 10, 2023
    2,328  Views
    How to Communicate Between two Lightning Components using Events?

    How to Communicate Between two Lightning Components using Events?

    Blog in Lightning

    Event: An event can be something the browser does or something a user does. Lightning framework uses event-driven programming. Handlers are written for interface events…

    communicate, Custom Controller, Event, Lightning Component Framework, Lightning Components
    Aman May 8, 2018
    48,817  Views

    Popular Salesforce Videos

    Salesforce Marketing Cloud Automation Studio

    Salesforce Marketing Cloud Automation Studio

    Video in Marketing, Salesforce Cloud Platform

    Automation Studio is a Marketing Cloud application used to execute multi-step marketing and data management activities on an immediate, triggered, or scheduled basis. Use Automation…

    Salesforce Training, Salesforce Marketing Cloud, Salesforce Video, Salesforce Learning, Marketing
    Neha Yadav Aug 7, 2020
    2,510  Views
    Enhance Multi-Select Picklist Functionality With Flows to Increase Reportability | Salesforce

    Enhance Multi-Select Picklist Functionality With Flows to Increase Reportability | Salesforce

    Video in Salesforce Training, Salesforce Automation

    Multi-select picklists are AMAZING but have some MAJOR downsides. Do you like the functionality of muti-selects but hate reporting on them? Does the easy user…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    Warren Oct 29, 2020
    3,544  Views
    Which Is Better Career Salesforce Admin or Developer?

    Which Is Better Career Salesforce Admin or Developer?

    Video in Salesforce Stories, Salesforce Admin

    Wondering Which is the better Career, Salesforce Admin or Salesforce Developer? Watch this video and join this group to learn all about it. Join this…

    Salesforce Jobs, Salesforce Developer, salesforce, Salesforce Admin, Salesforce Career
    Intelogik Aug 29, 2022
    1,313  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.