Skip to main content

#Trailhead Challenges1,170 discussing

Hands-on challenges are the “secret sauce” of Trailhead. Before searching for solutions to superbadge challenges, review the Salesforce Certification Program Agreement and Policies. ** NOTE ** : If you were able to get a response that solved your issue, please mark it as the 'Best Answer' to help other Trailblazers. If the issue persists after 48 hours, create a Trailhead Help case at https://help.salesforce.com/s/support for further assistance.
Discuss this in Slack for faster answers and real-time help.

A Record-Triggered Flow updates related records whenever an Opportunity is modified, even when unrelated fields change. How would you optimize the Flow using entry conditions, decision elements, and execution settings to improve performance and avoid unnecessary updates? 

#Trailhead Challenges #Flow

3 answers
  1. Oct 14, 4:03 PM

    Hi @Durga Prasad Karnaty I would first check why the Flow is running on every Opportunity update.

    A few things I would suggest:

    1. Entry Conditions: Run the Flow only when required conditions are met.
    2. Run Settings: Use "Only when a record is updated to meet the condition requirements" where applicable.
    3. Check Field Changes: Compare $Record and $Record__Prior to identify changes.
    4. Decision Element: Continue only when relevant fields have changed.
    5. Avoid Unnecessary Updates: Update related records only when needed.

    Best Practice: Filter records early and avoid unnecessary DML operations to improve Flow performance.

    Hope this helps!

#Trailhead Challenges #Flow How would you automatically create a follow-up Task whenever an Opportunity is marked as Closed Won? Which Flow type and configuration would you use?

2 answers
  1. Oct 13, 4:49 AM

    Hi @Abhiram Sailada You can achieve this easily using an After-Save Record-Triggered Flow.

    1. Go to Setup → Flows → New Flow → Record-Triggered Flow.
    2. Select Opportunity as the object.
    3. Set the condition: Stage = Closed Won.
    4. Choose When a record is updated and Only when the record is updated to meet the condition requirements.
    5. Select After Save because we're creating a related Task.
    6. Add a Create Records element to create a Task with:
      • Subject: Follow up with Customer
      • Status: Not Started
      • Related To: Opportunity ID ($Record.Id)
      • Assigned To: Opportunity Owner ($Record.OwnerId)

    Finally, save, activate, and test the Flow.

    Best Practice: Make sure the Flow creates the Task only when the Opportunity changes to Closed Won, to avoid duplicate Tasks.

    Hope this helps!

#Trailhead Challenges #TrailblazerCommunity

For someone graduating this year and trying to get their first Salesforce job, what skills would experienced Trailblazers suggest focusing on during the next 3–6 months? 

 

 

2 answers
  1. Oct 10, 11:27 AM

    Hi @Somraj Tejavath For the next 3–6 months, I suggest focusing on practical skills rather than just certifications.

    1. Salesforce Admin: Learn Objects, Relationships, Security, Validation Rules, Reports and Dashboards.
    2. Flow Automation: Practice Record-Triggered Flows and Screen Flows with real-time scenarios.
    3. Development: Learn SOQL, Apex, Triggers, Test Classes and basic LWC.
    4. Real-Time Projects: Build at least 2 complete projects and understand how to explain them in interviews.
    5. Interview Preparation: Practice scenario-based questions, improve communication skills and attend mock interviews.
    6. Agentforce & Data 360: Learn the fundamentals to stay updated with the Salesforce ecosystem.

    My advice:

    Don't try to learn everything at once. Build a strong foundation in Admin and Flow first, then move to Development. 

     

    Companies look for freshers who can understand requirements, solve problems and explain what they have built.

    All the best!

Hi Everyone, 

 

I am unable to complete the "Add to the Data Model Object" challenge from the Superbadge: Data Stream Fundamentals. 

 

The Error comes out as: "Whoops, looks like there was a problem. Please try again." 

 -I tried to redo the entire challenge but same error message comes out.  

- created a field called "International Contact" in the Account Contact DMO as per instructions and requirement.  

- Double checked the DMO if there's a same field name or something, but unable to find any duplicate field. 

- I labeled my org playground as "Superbadge - Data Stream Fundamentals - Developer Edition" in case someone becomes confused with the error message.

Unable to complete the

Not sure what else I could have missed.  

 

Thank you in Advance Trailblazers! 

 

#Trailhead Challenges  #Data Cloud  #Data360

4 answers
  1. Sep 29, 1:09 PM

    Hello @Antonio Bianco Ignacio

     

    You can try the following options:

6 answers
  1. Jun 27, 2025, 9:42 AM

    This error usually happens because the challenge requires that lead records can be created using only the standard required fields—no extra fields or custom data should be necessary to insert a Lead record in your org.

    Here’s what you can check and try:

    1. Remove any custom required fields on the Lead object. Go to Object Manager > Lead > Fields & Relationships and look for any custom fields that are marked as Required. Make sure none are required because the challenge expects only the standard fields to be mandatory.
    2. Validate Lead_Rating__c formula field: Ensure your formula is correct and doesn’t reference any fields or conditions that might prevent record creation.
    3. Test inserting leads with minimal data: Try creating lead records manually or via anonymous Apex with only the standard required fields like Last Name and Company. If that works without errors, you should be good.
    4. Check for Validation Rules or Triggers: Sometimes validation rules or Apex triggers require extra fields or enforce conditions. Disable or adjust those to allow simple lead insertion.

    After making sure the above points are addressed, try submitting the challenge again.

Hello! 

 

I'm trying to complete this challenge:  

Create a Validation Rule

Create a validation rule that displays an error message and prevents users from creating or updating a contact for an account if the contact and account have different zip codes. Allow creating and updating contacts that have no associated account.

  • Create a validation rule:
    • Rule Name: Contact_must_be_in_Account_ZIP_Code
    • Operator: AND (return true if both conditions are true)
    • Define the two conditions that, combined, will show the error message:
      • The contact is associated with an account id
      • The contact mailing zip code is different than the account shipping zip code 

        Hint: Use the API names (

        MailingPostalCode and Account.ShippingPostalCode) and the <> (Not Equal) operator.
    • Enter an error message for the validation rule

 

But I keep getting this error message but I'm not sure how to fix my validation rule. I'm selecting through Insert Field Account > "ShippingPostalCode" but that doesn't seem to be correct.  

"

We can't find a reference to the account 'ShippingPostalCode' field in the validation rule."

 

Here is my Error Condition Formula currently that is wrong: 

AND ( 

 Id  <>  ShippingPostalCode  

) 

 

Any help would be greatly appreciated! 

 

#Help  #Trailhead Challenges

3 answers
  1. Sep 29, 7:31 PM

    You can create a formula field with a return type number and decimal places to 0. Use this formula

    IF(storage_days - free_days<0, 0, storage_days - free_days)

Hi everyone,

I have a question regarding the “Create Quotes without Opportunities” feature and a potential future requirement involving Orders.

 

After enabling the “Create Quotes without Opportunities” feature, Salesforce automatically provides the QuoteAccountId field on the Quote object. For Quotes created without an Opportunity, the Account relationship is stored in QuoteAccountId, while the standard AccountId is not populated.

 

Would it be technically possible to populate the standard AccountId field with the value from QuoteAccountId

for Quotes created without an Opportunity?. 

 

The reason for considering this is that Orders will be used in the future, and the standard Account relationship may be required for the Order process.

Would populating AccountId = QuoteAccountId be a supported and recommended approach, or are there any Salesforce limitations or implications we should consider when working with Quotes without Opportunities? or any workaround?.

Thanks for your guidance! 

 

@Salesforce Administrators & Developers, @Salesforce Administrators and Developers, @APAC Architects, @Data Quality & Management

 

 

#Trailhead Challenges  #Trailhead  #Salesforce Developer  #Salesforce Admin  #Salesforce  #Flow  #Data Management  #Apex  #Sales Cloud

2 answers
  1. Sep 24, 3:17 PM

     

    Short answer: you generally cannot (and do not need to) write QuoteAccountId into the standard Quote.AccountId field. On the Quote object, AccountId is a system-derived, read-only reference that Salesforce fills from the related Opportunity's Account. It is not createable/updateable through the UI, Flow, Apex or the API, so an update like AccountId = QuoteAccountId will be rejected or ignored. For quotes created without an Opportunity, QuoteAccountId (label "Account for Quote") is the field Salesforce intends you to use as the account relationship. 

     

    For your future Order process this is already covered: Salesforce's documentation for quotes without opportunities says associating the quote to an account is optional but recommended, because an account is required to convert the quote to an order. When you create an Order from such a quote, the account comes from the quote's account (QuoteAccountId), so you don't need Quote.AccountId populated. 

     

    Practical recommendations: 

    1. Make QuoteAccountId required (validation rule, e.g. ISBLANK(OpportunityId) && ISBLANK(QuoteAccountId)) so every quote can be turned into an Order. 

    2. After enabling the feature, open Object Manager > Quote > Fields > Account for Quote and grant field-level security to your profiles/permission sets. It is hidden by default, which is why it often looks unavailable in Flow, reports and Apex. 

    3. In reports, flows, sharing logic and Apex, use one source of truth, for example a formula field BLANKVALUE(QuoteAccountId, Opportunity.AccountId), so logic works for quotes with and without an Opportunity. 

    4. If you create Orders yourself via Flow/Apex (rather than the standard Create Order action), set Order.AccountId = Quote.QuoteAccountId and Order.QuoteId = Quote.Id. 

     

    References: 

    Enable Quote Creation Without a Related Opportunity:

    https://help.salesforce.com/s/articleView?id=sales.cpq_quotes_without_opportunities.htm&type=5

     

    Release note, Create Quotes Without a Related Opportunity:

    https://help.salesforce.com/s/articleView?id=release-notes.rn_sales_quotes_without_opportunities.htm&release=244&type=5

     

    Quote object reference:

    https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_quote.htm

     

     

    Assumption: the statement that Quote.AccountId is read-only is based on the Quote object reference field properties and commonly reported org behaviour; please confirm in a sandbox (e.g. attempt the update in a Flow or Developer Console) before designing around it.

Hi, I’m working on the “Manage User Access” Trailhead challenge. 

 

I created the required users Fumiko Suzuki and Aaron Hartzler in my Trailhead Playground. Their required roles, profiles, licenses, time zone, locale, and language are set correctly. 

 

However, when I click “Check Challenge,” Trailhead shows: 

“We can't find a user named ‘Aaron Hartzler’.” 

 

Could you please help me identify why the challenge checker cannot find the user? 

 

#Trailhead Challenges

6 answers
  1. Sep 14, 7:39 AM

    Hi Rasmitha, 

     

    Here are the exact required field values for Aaron Hartzler, per the official Trailhead unit page: 

     

    First Name: Aaron 

    Last Name: Hartzler 

    Email: your own email address 

    Username: your email, but rewritten using this exact formula: first initial + last name + @ + your initials + favorite color + .com (e.g.,

    ahartzler@DKorange.com

    ) 

    Title: Customer Support Rep 

    Department: Customer Support 

    Role: Customer Support, North America 

    User License: Salesforce 

    Profile: Standard User 

    Locale settings: default (unlike Fumiko Suzuki, Aaron uses default locale, not Japanese) 

     

    Reference:

    https://trailhead.salesforce.com/content/learn/projects/customize-an-org-to-support-a-new-business-unit/manage-user-access

     

     

    Since "We can't find a user named 'Aaron Hartzler'" is a name-match failure specifically (not a field-mismatch error), check these in order: 

     

    1. Exact spelling in First Name / Last Name: "Aaron" and "Hartzler" exactly, no extra spaces, no autocorrect changes (e.g., "Aron" or "Hartzler " with a trailing space would fail an exact match). 

     

    2. Confirm the user actually saved successfully. If you clicked "Save & New" instead of "Save" on Aaron's record (easy to do since Fumiko's step uses "Save & New"), it's possible the record didn't persist as expected, or you ended up on a blank form for a third user. 

     

    3. Confirm you're checking the challenge in the same Trailhead Playground where you created the user. The official instructions explicitly warn: "Yes, we really mean a brand-new Trailhead playground! If you use an existing org or playground, you can run into problems completing this badge." If Aaron was created in a different org/playground than the one connected to this challenge, the checker won't find him. 

     

    4. Confirm Role is exactly "Customer Support, North America" (not "Customer Support, International", which is Fumiko's role) and License/Profile combo is Salesforce / Standard User (not Salesforce Platform / Standard Platform User, which is Fumiko's combo). A mixed-up combination between the two users is a very common mistake since they're created back-to-back with similar steps. 

     

    Given you've confirmed active status and license already, I'd check #1 (exact spelling) and #3 (correct playground) first, those are the two most common causes of a "can't find user named X" error specifically, as opposed to a field-value mismatch error.

It keeps saying "Challenge not yet complete in Resilient Raccoon Playground

We can't find the correct formula to set the Default Value for the Macaron Flavor picklist." Even though I have met all requirements for the challange. 

 

#Trailhead Challenges

1 answer
  1. Sep 8, 8:29 PM

    Hi , 

     

     

    Create a global picklist value Flavors and with the values as required. 

     

    Mark 'Gingerbread' value as default.

     

    Now create a new picklist field 'Macaron Flavor'  in Product standard object.

     

    Use the global picklist value that was created previously. 

     

    In the default field use the formula

     

    CASE(MONTH(TODAY()),1, "Gingerbread",2, "Strawberry",4, "Chocolate",7, "Raspberry",11, "Pumpkin",12, "Mint", "Vanilla")

     

    Set the 'Restrict picklist to the values defined in the value set' checkbox to true.

     

    The above should ensure your task completion.

     

    https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8vFkSAJ