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.
2 answers
  1. Oct 27, 4:40 AM

    Hello @Saksham Gupta

     

     

    The challenge looks for an exact element in the flow you activated. Check these in the Opportunity Stage to Qualification flow: 

      1. The element is an Update Records element, not an Assignment or another type. 

      2. Its Label is exactly Opportunity Stage Update, and its API Name is Opportunity_Stage_Update. Watch for typos and extra spaces. 

      3. It's set to update the record that triggered the flow (Use the opportunity record that triggered the flow / Update Triggering Records). Its filter conditions are First Contact Made Equals True AND Additional Meeting Scheduled Equals True, and it sets Stage = Qualification. 

      4. The flow label is exactly Opportunity Stage to Qualification. 

      5. The flow is saved and activated. If you've saved several versions, the active version must contain the element. 

      6. Check that the custom fields are named correctly, for example Additional_Meeting_Scheduled__c and not Additional_Meeting_Schedule__c. 

      7. Check the challenge in the same org/playground where you built the flow. 

     

    If it still fails, delete the element, add it again with the exact label, then save and activate a new version. 

     

We can use Flow to automate tasks, and Agentforce can also perform tasks through actions.

I'm interested to know how you see the difference between them in real projects. When would you use an Agentforce Action instead of a traditional Flow-based solution? 

 

#Trailhead Challenges

1 answer
  1. Oct 18, 4:55 PM

    Hi @Tejaswini M Good question! From my experience, Agentforce Actions and Flow serve different purposes, but they can work together.

    The main difference is how and when they execute business logic.

    A few key differences:

    1. Salesforce Flow: Automates business processes based on predefined logic, record changes, schedules, or user actions.
    2. Agentforce Actions: Allow AI agents to execute specific tasks based on user requests and conversation context.
    3. Execution: Flow follows defined steps, while Agentforce can select the appropriate action based on the user's request.
    4. Business Logic: Flow handles the actual automation, while an Agentforce Action can call Flow, Apex, or other supported functionality.
    5. Reusability: Existing autolaunched Flows can be exposed through Agentforce Actions without rebuilding the business logic.

    When to use what?

    • Use Flow for predefined, scheduled, and record-triggered business automation.
    • Use Agentforce Actions when users need to perform tasks through natural language or when an AI agent needs to select and execute an operation.

    Useful Salesforce Documentation:

    Related Trailblazer Discussions:

    My view: Agentforce Actions don't replace Flow. They provide an intelligent way for agents to use existing business functionality.

    In simple words, Agentforce decides which action to run, and Flow can perform the actual business operation.

#Trailhead Challenges #Trailhead #AI

 

Trailhead gives good hands-on practice, but how can a student create experience that is closer to working on a real Salesforce project? 

3 answers
  1. Oct 8, 9:59 AM

    Hi @Chandra Shekar

     

    Good question! Trailhead is a great place to learn Salesforce, but working on complete projects will help you understand how things work in real companies. 

     

    Here are a few things I would suggest:

    1. Build Real-Time Projects: Start with projects like Student Management, Recruitment Management, or Customer Support Management.
    2. Understand Requirements: Don't just create objects and fields. Think about the actual business problem you're trying to solve.
    3. Practice Admin & Development: Work with security, Flows, validation rules, Apex, SOQL, and LWC based on project requirements.
    4. Work on Real Scenarios: Practice bulk data uploads, error handling, record sharing, and approval processes.
    5. Use GitHub: Upload your project code, requirements, screenshots, and documentation.
    6. Join the Community: Participate in Salesforce community discussions, developer groups, and hackathons.
    7. Practice Team Work: Learn how Jira, Agile, Scrum, Git, and deployment processes work.

    My suggestion:

     Pick one project and complete it from requirement gathering to development, testing, and deployment. 

     

    For example, build a Recruitment Management application where recruiters can manage candidates, schedule interviews, and track hiring status. 

     

    Most importantly, during interviews, you should be able to explain what you built, why you built it, and how you solved the challenges. 

     

    A complete hands-on project can give you much better practical understanding than completing multiple Trailhead modules alone.

    Hope this helps!

Hi everyone,

I’m looking for some architectural input on a record visibility design for a multi-subsidiary arquitecture. 

 

Context:

  • Account and Quote OWDs are set to Private.
  • An ERP integration creates Quote records linked directly to QuoteAccountId (field when you activate the feature "Create Quotes without Opportunities"
  • All sales users share the same Profile and Role and public groups BUT
  • Field Sales users should only see Quotes linked to Accounts they own, provided the Quote and Account regions (e.g. Spain, France, etc.) match.

Current Solution:

To distinguish Field Sales users from back-office users, I created dedicated Public Groups per region (e.g. Group_FieldSales_RegionA, Group_FieldSales_RegionB).

A Record-Triggered Flow checks whether the Account Owner belongs to the corresponding Field Sales group. If so, the Flow creates a QuoteShare record for that user.

Importantly, these Public Groups created for the Field Sales users are not used in Sharing Rules

. They are only used by the Flow as an internal validation mechanism to identify whether the Account Owner is a Field Sales user. This is also important for managers with hybrid responsibilities, who may belong to both Field Sales and back-office groups (they are everywhere in every public group with execption of my newly created Field Sales public groups) 

 

Architectural Question:

There is a concern of non-developer members about using Public Groups and believes visibility should be based purely on Account Ownership.

  1. Would you consider using Public Groups as an internal identity/validation mechanism in Flow a sound architectural approach in this scenario?
  2. If Public Groups cannot be used, what would be a robust alternative for a Flow to identify Field Sales users, given that Profiles, Roles and public groups are shared and some users have hybrid responsibilities (Sales Managers are inside and outside at the same time)?

I’d appreciate your thoughts on the best practice for this design.

Thanks in advance! 

 

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

 

 

#Trailhead Challenges  #Trailhead  #Salesforce Developer  #Salesforce Admin  #Solution Architects  #Architects  #Enterprise Architecture  #Flow  #Security

4 answers
  1. Oct 6, 4:13 PM

    @Lena Wong

    You're right the business rule doesn't care who owns the Quote. The risk comes from how the platform stores the share, not from the rule. 

     

    Where the Quote owner matters (platform mechanics, not business logic) 

    A Flow created QuoteShare is a manual share (row cause "Manual"). Salesforce deletes manual shares on a record when that record's OwnerId changes. Your Flow most likely triggers on events like Quote created or Account owner changed. A Quote owner change isn't one of those events, so: 

    1. The ERP (or a user or mass transfer) changes the Quote's owner.
    2. The platform silently deletes the share the Flow created.
    3. Nothing re-runs the Flow, so the Account Owner loses access even though the business rule says they should have it.

    Fixes, in order of preference: 

     

    • Add a trigger path on Quote update when OwnerId changes, so the Flow recreates the share.
    • Add a scheduled reconciliation that compares expected and actual shares. This also catches other drift.

    A related edge case:

    if the Account Owner is also the Quote owner, they already have access. The Flow should skip creating the share in that case, because inserting a share for the owner is rejected or ignored. 

     

    If the ERP never changes Quote ownership

    (it creates Quotes under a fixed integration user and never updates them), this risk mostly goes away, and the Account owner, region, and bulk-load gotchas are what remain. I can't confirm that from here, so it's worth asking the ERP team. 

     

    On the permission set groups

     

    If every sales user is in the same Permission Set Group, that group can't tell Field Sales from back-office, so it doesn't help as the identifier. Option 2 only works with a separate, standalone permission set (for example

    Field_Sales_Spain) assigned directly to Field Sales users and not included in the shared group. Hybrid managers just get that one assigned too.

i am currently working on the scheduled flow modules which in under the developer intermediate course , i have completed all the task which is given to me , but still it shows not completed , help me in this  

 

#Trailhead Challenges  #Flow

10 answers
  1. Oct 6, 12:57 PM

    Hi Prema,

    If you have completed all the steps but the challenge still shows as incomplete, try the following:

    1. Verify that the flow is Activated, not just saved.
    2. Ensure all challenge requirements are completed exactly as mentioned in the instructions.
    3. Check whether the flow name, scheduled frequency, and actions match the challenge requirements.
    4. Click Check Challenge again after refreshing the browser.
    5. Log out and log back into your Trailhead Playground.
    6. Make sure you're using the correct Playground connected to the challenge.

    If the issue persists, please share:

    • The challenge name
    • A screenshot of your flow configuration
    • The exact error message shown when you click "Check Challenge"

    This will help identify what's missing and resolve the issue quickly.

    Thanks!

Hi everyone,

I need to perform a bulk security update to grant visibility over thousands of existing historical Quote records in our system.

The Setup:

  • OWD: Account and Quote objects are both set to Private.
  • We use the "Create Quotes Without Opportunity" feature, so thousands of existing integrated Quotes are linked to Accounts via the standard QuoteAccountId field.
  • Field agents are assigned to Regional Public Groups (e.g., OutsideSalesSpain, OutsideSalesFrance, etc.) matching their specific company/region field value (Spain, France, etc.).

The Requirement:

 

I need to run a one-time bulk update to grant

Read access over all existing historical Quotes to the Account Owner of the Account associated with those quotes, but ONLY if that Account Owner belongs to the corresponding Regional Public Group, and ONLY

if the Quote's region matches the Account's region. 

 

I already created a flow to handle this when quotes are being created, but the flow does not handle this visibility when there already exist Quote records in Salesforce. 

 

If I use Data Loader to solve this for historical Quote records, the solution would take long and would be cumbersome (probably manual efforts). Is this possible to solve with Apex?. We are talking about more than 20000 existing Quote records!.

Thanks for your advice! 

 

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

 

 

 

 

#Trailhead Challenges  #Salesforce Developer  #Salesforce Admin  #Data Management

3 answers
  1. Oct 5, 5:07 PM

    Hi @Lena Wong

     

    Yes, this is possible with Batch Apex and would be more suitable than Data Loader for 20,000+ existing Quotes.

    • Query Quotes in batches and get the related Account Owner and Region.
    • Verify the Account Owner is a member of the corresponding Regional Public Group.
    • Check that Quote Region = Account Region.
    • For matching records, create QuoteShare records with Read access.
    • Handle existing share records/duplicates and test the batch in a sandbox first.

    Batch Apex + programmatic sharing would be my recommended approach for this one-time historical data update.  

      

    If this helps resolve your issue, please consider marking it as the Accepted Answer so it can help other Trailblazers as well. Thanks! 

Anyone have any flows they are created to do either of these functions? 

Any resources out there that you know of?  

Would appreciate any comments 

 

#Trailhead Challenges  #Trailhead  #Salesforce Developer  #Salesforce Admin  #Salesforce  #TrailblazerCommunity  #Flow  #Sales Cloud  #Automation

3 answers
  1. Oct 5, 3:12 PM

    Hi @Scott Holmes -  I would start with Salesforce’s built-in features for both:

    • Duplicates: Use Matching Rules and Duplicate Rules to identify matches and warn users or block duplicate records. The Duplicate Management module is a good starting point.
    • Email bounces: Enable Bounce Management under Setup, Deliverability. Salesforce populates EmailBouncedDate and EmailBouncedReason for detected hard bounces. You could then use a scheduled flow to find those Leads or Contacts and create a follow-up task for the owner. Add a “Bounce Handled” checkbox to avoid creating the same task repeatedly.

I’m a final-year B.Tech student preparing for a Salesforce career. What type of Salesforce project would be good to build and showcase on my resume as a fresher? 

 

#Trailhead Challenges

1 answer
  1. Oct 3, 8:05 AM

    Hi @Uday Punna

     

    A good project for a fresher would be a Student Placement Management System in Salesforce. 

     

    You can include:

    1. Custom Objects – Student, Company, Job Opening, Application, Interview
    2. Relationships – Lookup and Master-Detail
    3. Security – Profiles, Permission Sets, OWD, Roles and Sharing Rules
    4. Validation Rules – Prevent incomplete or incorrect application data
    5. Flows – Automatically update application status, send notifications and create follow-up tasks
    6. Reports & Dashboards – Students placed, interviews scheduled, company-wise placements and placement percentage
    7. Record Types & Page Layouts – Different processes for Students, Recruiters or Placement Team
    8. Email Alerts – Notify students when interview status changes
    9. Approval Process – Optional approval for job postings or student eligibility
    10. Apex/LWC – Add one small custom feature if you are also learning Development

    On your resume, don’t just mention the project name. Mention what you actually built.

    Example:

    Student Placement Management System – Salesforce

     

    Built an end-to-end Salesforce application to manage students, companies, job openings, applications and interviews using custom objects, Flows, security, validation rules, reports and dashboards.

    The key is to be able to explain the requirement, your design, automation, security model and challenges you solved during the interview. 

     

    Thank You, 

    Venkat Yadav.

Hi everyone,

I need an architectural sanity check on a security requirement. I want to avoid hitting platform limits down the road and would appreciate some feedback on whether this can be safely achieved using Schedule-Triggered Flows or whether Scheduled Batch Apex would be required.

Context

  • We are changing the Organization-Wide Defaults (OWD) of the standard Quote object from Controlled by Parent to Private.
  • We receive an integration feed from an external system that creates or updates up to approximately 80 Quotes per Account per day. Quotes can also be created manually in Salesforce.
  • Quotes contain two custom Account lookups: Sold-To and Bill-To.
  • We have both Quotes with and without Opportunities.

Requirement

  • The Account Owner of the Sold-To Account and the Account Owner of the Bill-To Account must have Read-Only access to the related Quote.
  • When the Account Owner changes, access to the related Quotes must be updated accordingly, including removing the previous owner's access and granting access to the new owner.
  • The required access is managed through QuoteShare records with RowCause = Manual.

Architectural Question

Given the expected Quote volume and the need to automate the insertion and cleanup of QuoteShare records following Account ownership changes:

  • Is this approach feasible using a standard Schedule-Triggered Flow, or would Scheduled Batch Apex be required to ensure scalability and avoid governor limits?
  • What would be the cleanest architectural pattern for handling the cleanup and creation of Manual QuoteShare records when Account ownership changes?

Thanks for your guidance!

 

 

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

 

 

#Trailhead Challenges  #Salesforce Developer  #Salesforce Admin  #Salesforce  #Flow  #Apex

3 answers
  1. Sep 24, 6:14 PM

    Thank you for the explanation, @sakshi nagpal. I reviewed with my colleagues and the current information I got is that the sales reps won't impossibly generate to 80 quotes a day per account even as an approx. . So, then do you still see a risk by using a scheduled flow than APEX?. I would appreciate your guidance.

I'm getting stumped on this. Org wants to create a push notification for overdue tasks. I have done it using a record-triggered flow with 7 days and 2 days as being notifications email to say Task is about to be due. Could it just be a push notification which stays in Salesforce, notification sent to the notification bell once daily . 

 

#Trailhead Challenges  #Trailhead  #Salesforce Admin  #TrailblazerCommunity  #Sales Cloud  #Formulas

5 answers
  1. Sep 15, 8:02 PM

    Hi @Scott Holmes -  Create a Scheduled-Triggered Flow that runs once a day.

     Get Task records where: 

    • IsClosed = False
    • ActivityDate < TODAY()

     

     Use the Custom Notification action.  

     

     Send the notification to the Task Owner.  

     

     The notification will appear in the Salesforce notification bell.  

     

     If you also want the 7-day and 2-day reminders, those can remain as scheduled paths in your existing record-triggered flow.