Skip to main content Join us at TDX in San Francisco or on Salesforce+ on March 5-6 for the Developer Conference for the AI Agent Era. Register now.

#Trailhead Challenges2,417 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.
  • Under the Set Field Values for the Interviewer section, click Add Field to add the following fields:
    • Field 1: Select Employee__c.
      • Value: Select $Record.Hiring_Manager__c (this links the Hiring Manager from the Position to the Interviewer).
    • Field 2: Select Position__c.
      • Value: Select $Record.Id (this links the new Position record to the Interviewer).

Save the Create Records Element:

  • Click Done to add the Create Interviewer Record element to your flow.

 

#Trailhead Challenges

4 answers
0/9000

ALL the code: 

 

AND ( 

 

    AND( 

 

ProductCode__c  =  "CA-38",  

  

 SUM (Amount__c)  > 0  

 

)  

 

 

        AND(  

ProductCode__c  =  "AD-Y-11", 

 ProductCode__c  =  "AD-Y-12",  

ProductCode__c  =  "AD-Y-13", 

 ProductCode__c  =  "AD-Y-14" , 

 NOT (    SUM (Amount__c)  > 0   ) 

 ) 

 

)

Erreur de formule

 

Hi team, 

Someone to help me.  

I want a rule that prevents the sum of specific products from being equal to zero. 

 

 

 

#Trailhead Challenges

10 answers
  1. Feb 26, 9:49 PM

    @Ohou Jean-Luc Soboh You'll need to create a Flow to accomplish this, as a formula or validation rule alone can't retrieve specific product records and sum their amounts. In the Flow, use the **Get Records** element to fetch the amounts for multiple products, aggregate them, and check if the total exceeds zero.

0/9000

I'm not sure what I'm missing. I might've done something wrong.

 

Create Automation for Submitting Positions for Approval

Now that you’ve set up an approval process, continue to automate recruiting tasks by creating a flow that automatically submits new positions for approval.

Use Flow Builder to Create a New Automation

Use Flow Builder to set up the automation.

  1. From Setup, enter flows in the Quick Find box and select Flows.
  2. Click New Flow.
  3. Select Record-Triggered Flow and click Create.
  4. Enter and select Position for the Object.
  5. Select A record is created or updated in the Configure Trigger section.
  6. In the Condition Requirements, select All Conditions Are Met (AND).
  7. Click Add Condition until there are 5 field options available.
  8. Set the conditions.
  9.  
  10. FieldOperatorValue1. | Status__c | Equals | New
  11. 2. | Job_Description__c | Is Null | {!$GlobalConstant.False}
  12. 3. | Department__c | Is Null | {!$GlobalConstant.False}
  13. 4. | Education__c | Is Null | {!$GlobalConstant.False}
  14. 5. | Hiring_Manager__c | Is Null | {!$GlobalConstant.False}
  15. Select Only when a record is updated to meet the condition requirements in the When to Run the Flow for Updated Records section
  16. Ensure Actions and Related Records is selected.
  17. On the flow canvas, hover over and click to add an element.
  18. In the Add Element search box, enter action and select Action.
  19. Enter submit in search all actions… and select Submit for Approval.
  20. Fill in the details:
    • Label: Submit Position for Approval
    • For Record ID, select $Record > Id
  21. Click Done.
  22. Click the Submit Position for Approval action.
  23. Click Edit Element.
  24. Toggle the Approval Process Name Or ID to Include and select Submit_Position_for_Approval > entityId.
  25. Click Done.
  26. Click Save.
  27. Enter Submit New Positions for Approval for the Flow Label.
  28. Click Activate.
  29. Click to return to setup.

You’re almost done setting automating processes for the recruiting team. Move on to the final step, where you create another flow, but this time with radio buttons that interviewers can use to easily rate candidates.

 

Step not yet complete in Tutorial Trials Test The 'Submit New Positions for Approval' flow is not configured to trigger when a record is created or updated

The 'Submit New Positions for Approval' flow is not configured to trigger when a record is created or updated..png

 

 

#Trailhead Challenges

0/9000

 Could not find the required Chatter post when inserting a Communications record with Number__c set to 1;  

 

#Trailhead Challenges

2 answers
  1. Feb 8, 9:32 PM

    My daughter helped me find the answer. When setting up the Trigger, I had selected under Condition Requirements:

     

    "All Conditions Are Met (AND) instead of

    Any Condition Is Met (OR)

    It was as simple as that. 

0/9000

I am in the Add a Flow to Your Prompt Template part of the Quick Start: Create a Prompt Builder Flex Template the first time i tried to finish the test i received ID error: -561342874. i'll share a picture of it with this question, the second time i try to do the test it doesn't show me one of the steps (Template-Triggered Prompt Flow

can anyone give me a good reason why this is happening to me?

the testing environment having a lot of issues please help

 

 

test1.jpg

 

 

Untitled.jpg

 

is not shown in the steps  

 

#Trailhead Challenges

0/9000

Hi,

 

I'm creating an action for the agent force, it should create a lead. Below are the steps that I did, Im not sure if Im missing something.

1) Create the work flow that have the var: fisrtname, lastname, email and company[ all set as input] (I've added company later)

     1.1)Debug flow with no problem "A record is ready to be created when the next screen, pause, or local action is executed or when the interview finishes.

00Qaj00000Blc9xEAB" [ I'm able to see the record]

2) [problem] in Agent Action I can not see the variable "company"

3) When I add this action to my agent, it is asking for the information like "Great! I'd be happy to help you with that. Could you please provide the following details?

  1. First Name
  2. Last Name
  3. Email
  4. Company"

But once I add it, it shows an error in the input

{

  "varLastName": "Test3",

  "varEmail": "1235@test.com",

  "varFirstName": "test1"

}

UNKNOWN_EXCEPTION. An error occurred when executing a flow interview.

 

Plus this email:

varLastName = Test3

varEmail = 1235@test.com

varFirstName = test1

DECISION: Validate Inputs

Outcome executed: Email_Validation

Outcome conditions:

{!varEmail} (1235@test.com) Does not equal null

All conditions must be true (AND)

 

CREATE RECORDS: AgentForceCreateLead

Create one Lead record where:

Company = {!varCompany} (null)

Email = {!varEmail} (1235@test.com)

FirstName = {!varFirstName} (test1)

LastName = {!varLastName} (Test3)

Result

Failed to create a record.

 

Apologies to make it too long.

Can someone please give me some guidance?

 

#Trailhead Challenges

5 answers
  1. Dec 4, 2024, 6:28 PM

    @Catherine Paiva,

     

    I understand that you can see the varCompany variable mapped in the flow builder, but it is not appearing in the agent action setup

     

    Verify the varCompany variable's availability for the agent action by checking its scope. Variables must occasionally be clearly identified as being usable in particular situations. Make that varCompany is defined as an input variable in the flow builder and that the agent action can access it due to its scope.

     

    Re-add the Action: Re-adding the action can occasionally aid in updating the variables that are accessible. To check if varCompany shows up, try taking the current agent action away and then putting it back.

     

    Flow Version: Ensure you are using the correct version of your flow. If you've made changes to your flow after creating the agent action, those changes may not be reflected until you publish a new version of the flow.

     

    Debugging: When executing your flow, use Flow Builder's debug tool to check for any issues or warnings pertaining to variable accessibility. This could offer more information about why varCompany isn't appearing. Access and Permissions: Verify whether any access restrictions or permission settings are preventing varCompany from being identified in the agent activity.

     

    Permissions and Access: Check if there are any permission settings or access controls that might be preventing varCompany from being recognized in the agent action

     

    If you've gone through these steps and still cannot see varCompany, please let me know, and we can explore further options together

0/9000

I'm completing the "Assign the Login Flow and Test It in Your Portal" on the Self-Registration in a Portal moudle, but I am having trouble with the test at the end. I was able to assign the Privacy Setting Log-in flow to the site, but when I try to test creating a new user, I get the following error: 

Your request cannot be processed at this time. The site administrator has been alerted

 

When I check the email, it says the following:

 

Customer_Account_Portal registration accountId parameter value is not valid.

 

Is this an issue with the flow itself? 

 

0/9000

I am having trouble completing the "Add a Flow to Your Prompt Template" section in the "Quick Start: Create a Prompt Builder Flex Template" module. I am getting the following error:

 

Error: It looks like the New Guest Newsletter Prompt Template does not contain the proper text related to the flow.

 

I have checked my prompt template, and it matches the instructions. The test is producing the expected result, but I still cannot complete the challenge

 

#Trailhead Challenges

0/9000

Finishing up on the last couple of modules for #TDX24 but getting stuck on Create Flow Tests. Trying to run the 'Run This Flow Once At the Start' but it fails with 'An unhandled fault has occurred in this flow

An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information.'

Debugging says:

This error occurred when the flow tried to create records: LICENSE_LIMIT_EXCEEDED: License Limit Exceeded - Salesforce.

I've tried finding more info on this through help but haven't succeeded. Any assistance is appreciated.

 

#Trailhead Challenges  #TDX24  #Flows

0/9000

I created the flex template and I was able to validate that step. Then I created the workflow and added it to the prompt template. I tested the prompt template and it worked as expected. When I try to validate the task I get: Step not yet complete in Einstein AI

Whoops, looks like there was a problem. Please try again.

 

I don't think I missed anything and I am not getting an actionable error. I have tried recreating the prompt template and flow multiple times. 

 

If anyone has an answer I would love to hear it.

5 answers
  1. Nov 21, 2024, 9:22 PM

    Hi @Peter Johnson ,

     

    Kindly follow the steps below to disconnect your current Agentforce Playground and create a new one. 

     

    1. Go to a standard playground badge like this one: https://trailhead.salesforce.com/content/learn/projects/configure-a-net-zero-cloud-org/create-net-zero-cloud-profiles-and-users
    2. Scroll to the bottom and click the 3 dots next to the playground listed
    3. Click Manage Orgs
    4. Click Create Playground
    5. When it is made, refresh the page and you should be able to click Disconnect next to the Agentforce org (org starting with Epic.....)

    Post these steps, navigate to https://trailhead.salesforce.com/content/learn/projects/quick-start-build-your-first-agent-with-agentforce/configure-an-agentforce-service-agent , refresh the page and you should be able to create a new org.

0/9000