Skip to main content

#Trailhead Challenges1.189 diskutieren mit

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.

During the execution of an Apex Anonymous Block, I observed that Limits.getHeapSize() reached approximately  17274634

, but the execution completed successfully without throwing a System.LimitException: Apex heap size too large exception.  

 

Here is a simplified version of the relevant code:  

 

for (String ruleName : map_name_largeConstraintRule.keySet()) {

List<String> parts = map_name_contentParts.get(ruleName);

if (parts.size() > 1) {

map_name_largeConstraintRule.get(ruleName)

.put('content', String.join(parts, ''));

}

System.debug('after content heap size: ' + Limits.getHeapSize());

parts.clear();

}

if (!map_name_largeConstraintRule.isEmpty()) {

retObjects.addAll(map_name_largeConstraintRule.values());

}

System.debug('heap size--: ' + Limits.getHeapSize());

 

And here is debug log

13:53:51.962 (1752396828)|USER_DEBUG|[85]|DEBUG|after content heap size: 17274634

13:53:51.962 (1753109595)|USER_DEBUG|[92]|DEBUG|heap size--: 9186520

 

The execution completed without any heap limit exception.  

 

I would appreciate any clarification about how Apex measures heap usage and enforces heap limits in this scenario. 

 

Thank you!  

 

#Salesforce Developer  #Trailhead Challenges  #Salesforce Admin  #Trailhead

0/9000

#Trailhead Challenges

 

 Error - 

In the Get PBE element, we can’t find filters that check if 'Price Book ID' Equals 'PricebookID' and 'Product ID Equals Product from Get Product > Product Id'.

  

Getting below error Product Id'."" style="display: block;" />

3 Antworten
  1. Heute 05:07

     Product2Id field is not available for me. Only I can see ProductID.

0/9000

I tried to merge csv data via Data miport wizard. 

But this messages emerged.  

I cannot understand the error

 

I have attached the CSV file I tried to import . 

 

#Trailhead Challenges

2 Antworten
  1. Heute 04:57

    Thank you! I succeeded just as per the way you proceeded ! 

    by the way, Lead Source is needed ? (I understood Data Import Wizard convert the csv even if no Lead Source column, because we need to set convert information in the steps of the wizard.) 

0/9000

Hi!, I'm dealing with the trailhead https://trailhead.salesforce.com/content/learn/modules/agentforce-agent-testing/set-up-testing-criteria?trail_id=become-an-agentblazer-legend-2026

and get stuck with the enable of the agentforce test center. I created the org, linked it and turned einstein and Agentforce (Default) but when i search for the Test Center i'm not able to see it.  

 

 

Im getting errores with the Agentforce Test Center

 

 

 

#Trailhead Challenges  #Trailhead  #Agentforce

2 Antworten
0/9000

I am attempting to complete this topic: Add a Flow to Your Prompt Template https://trailhead.salesforce.com/content/learn/projects/quick-start-create-prompt-builder-flex-template/add-a-flow-to-your-prompt-template?trail_id=become-an-agentblazer-innovator-2026

. i have completed all the required steps and i am getting the error message below. Please help 

 

Error:Step not yet complete in Einstein AI

In the New Guest Newsletter prompt template, we can’t find the expected text. 

 

#Trailhead Support  #Trailhead Challenges

3 Antworten
  1. Heute 04:23

    Hello @Dafe Olotewo

     

    Check if the prompt template is activated. 

    Also ensure you are working in the same Salesforce playground/org where you completed the previous module (Build a Flex Prompt Template with Einstein AI). If it still fails, delete the existing org, create a new one and follow that unit's steps again. 

     

    Related threads:

0/9000
2 Antworten
  1. Heute 04:21

    Hello @Prasanth Sanapala

     

    Make sure you have a Global Action that has its default name: SendEmail. 

     

    There are three more things to keep in mind for this to work: 

    1. Ensure Setup > Deliverability > Access to Send Email org wide pref is set to "All Emails" (this is OFF by default in Sandbox orgs, and also on trial orgs which haven't verified the user email address) 

    2. Ensure the user has the Send Email user perm (which also adds the Edit Tasks user perm) 

    3. Ensure that the Send Email Action is added to Lightning Actions in the Page Layout. 

    Please note these three are requirements of the feature, not part of the Bug. 

    https://help.salesforce.com/s/articleView?id=000387906&type=1

0/9000
6 Antworten
  1. 28. Okt., 12:02

     Make sure you’re using the correct Playground connected to the challenge and that all requirements are completed exactly as instructed. Try refreshing Trailhead, then click Verify again. If it still fails, check the error message and confirm your changes were saved in the correct org. 

0/9000

 I’m having an issue with the hands-on challenge in: [Discover and Configure Products in Revenue Cloud] (https://trailhead.salesforce.com/content/learn/modules/efficient-sales-with-revenue-cloud/discover-and-configure-products

)  

 

I'm stuck on the 

"Select and Configure Products" unit. I get errors when adding the "Laptop Pro Bundle" to a quote:

  • Via Browse Catalogs: "Your quote was not updated. Required fields are missing: [Price Book Entry]"
  • Via Quote Line Items: "A price book entry is not found for product Laptop and product selling model"

I've already confirmed that the product is registered in the Price Book

 (see attached screenshot). 

 

 Does anyone know how to fix this?  

 

 

 

#Trailhead Challenges

5 Antworten
  1. 28. Okt., 20:30

    note that you have to refresh the "price entry v2" from lookup tables after giving the warranty the price book 0 so the bundle can be added from catalog to the qoute successfully

0/9000

Hi Team,

I am completing the Explore Data with Agentforce Grid Trailhead unit. The Account and Account.Id columns are working, but the Summary column using the Account Summary Prompt Template returns:

“A temporary system error occurred. Please provide this request ID to customer support.”

“The LLM response is incorrect. Adjust the instructions and try again.”

I already tried Update Column, Save and Run, and Reconnect Agents to Salesforce Services

, but the error continues.  

 

Agentforce Grid Account Summary Prompt Template showing temporary system error

 

 

Badge: 

Agentforce Grid

Unit: Explore Data with Agentforce Grid

Feature: Account Summary Prompt Template

Error: A temporary system error occurred

RunId: 01a17da0-b7d2-7673-98df-6650bd0370c8

 

Could you please suggest how to resolve this issue? 

 

#Trailhead Challenges  #AgentblazerInnovator

1 Antwort
  1. 28. Okt., 20:28

     Hi ,

    instead of creating a column of

     

    Prompt Template type 

    create a column of Text type  

     

     

    Hi ,instead of creating a column of Prompt Template type create a column of Text type

     

     

0/9000

Hi, I’m having an issue with the Trailhead challenge “Create a Sharing Rule for the Program Object.”

The challenge keeps returning: “We can’t find a custom field named ‘Type’ on the Program object.”

I verified that the Program custom object contains the field Type (Type__c), the field type is Picklist, and the values are Campus Outreach, Development, and Research. I also enabled Read Access, set the Program OWD to Private, and created the required Campus Outreach Programs sharing rule for the Recruiter role with Read/Write access.

The Trailhead Playground selected for the challenge is also the same org where the configuration was completed.

Can you help determine why the challenge validator is not detecting Type__c? 

 

#Trailhead Challenges

2 Antworten
  1. 28. Okt., 19:21

    I have the same issue. I had similar issues before. At that time I had to install a package and clean up manually created Object. Program Object is not avaliable at Sandbox. I had to create it manually and all above info looks correct. I wonder if same issue is happing here and we need to install a curtain package.

0/9000