Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • 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
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • 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
    • Marketplace
    • Advertise With Us
    • 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 6 years, 4 months 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

    application solution

    Popular Salesforce Blogs

    Common Salesforce Flow Errors and How to Solve Them

    Blog in Salesforce

    Salesforce Flow errors happen all the time. However, you can still manage a clean user experience even when these errors occur. When you give users…

    Avoiding Flow Errors, Campaign, Complex Flows, Custom Automated Logic, Custom Screens
    Apphienz Aug 26, 2021
    3,046  Views

    How A Salesforce CRM Call Center Can Be Setup And Call Center Users Can Be Managed?

    Blog in Salesforce Consultant

    The third party CTI systems can be integrated seamlessly with Salesforce with the help of a Salesforce CRM Call Center. In the Salesforce console footer or…

    Calling from Salesforce, CTI, Customer Engagement, Salesforce CRM, Salesforce Records
    William Apr 16, 2019
    6,592  Views
    How To Use Tokens in salesforce Lightning

    How To Use Tokens in Salesforce Lightning?

    Blog in Lightning, Salesforce customization, Salesforce Implementation

    This is one of the cool features of Salesforce lightning mainly used for styling in components.You need to define code, values only once and use…

    CSS Frameworks, Design Tokens, Implement Salesforce Lightning, Lightning, Salesforce Customization
    Ajay Prakash Jan 10, 2018
    15,928  Views

    Popular Salesforce Videos

    Use Salesforce CMS to Manage and Publish Content for Experience Cloud Sites

    Use Salesforce CMS to Manage and Publish Content for Experience Cloud Sites

    Video in Salesforce Cloud Platform

    Learn how Salesforce CMS helps you create, manage, and publish your content in Experience Cloud. With Salesforce CMS, you can also customize content for specific…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    Jogender Apr 25, 2022
    2,485  Views
    How to import data from Sage ERP to Salesforce - Part 1

    How to import data from Sage ERP to Salesforce - Part 1

    Video in Others, Salesforce Integration

    Greytrix offers GUMU™ integration for Salesforce with Sage ERP systems - a best-of-breed solution for organizations to enhance their customer interaction. With Salesforce and Sage…

    Salesforce Training, Salesforce Tutorial, Salesforce Integration, salesforce, Salesforce Video
    Greytrix Mar 24, 2021
    3,116  Views
    Skill Based Routing with Apex/Flows in Salesforce

    Skill Based Routing with Apex/Flows in Salesforce

    Video in Salesforce Apex

    This video is the sequel to the omnichannel Salesforce tutorial (LINK) In this video, we will cover: 1. What is Skill-based routing 2. Why is…

    Salesforce Training, Salesforce Tutorial, Apex Class, Salesforce Video, Salesforce Learning
    Pooja Oct 7, 2021
    3,630  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®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.