Skip to main content

#Trailhead Challenges1,178 人がディスカッション中

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.
3 件の回答
0/9000

trigger AccountAddressTrigger on Account (before insert, before update) { 

    for(Account a: Trigger.New){ 

        if(a.Match_Billing_Address__c == true && a.BillingPostalCode!= null){ 

            a.ShippingPostalCode=a.BillingPostalCode; 

        } 

    } 

} 

Failed to enqueue tests.: An unknown exception occurred. 

 

#Trailhead Challenges

2 件の回答
  1. 今日、3:28

    Hi @shreya maheshwari

    , 

     

    +1 to Danish, your trigger is fine. One more thing that often clears “Failed to enqueue tests”: go to Setup, then Apex Test Execution, click Options, and tick “Disable Parallel Apex Testing”. Save, wait a minute, then check the challenge again. 

0/9000

Hi everyone,

I'm completing the Trailhead module "Build with Agentforce Builder" and I'm stuck while creating the custom actions for the Experience Management subagent.

I created the flows provided in the playground:

  • Get Experience Details
  • Get Customer Details

Both flows are Active and have the expected variables configured.

Get Experience Details

  • experienceName – Text, Available for Input 
  • experienceRecord – Record (Experience__c), Available for Output 

Get Customer Details

  • email – Text, Available for Input 
  • memberNumber – Text, Available for Input 
  • contact – Record (Contact), Available for Output 

However, when I configure the custom actions in Agentforce Builder and enable Require Input to execute action or Show in conversation, I receive the following validation errors:

'email' is not a defined input of action 'Get_Customer_Details'

'memberNumber' is not a defined input of action 'Get_Customer_Details'

Action input 'experienceName' in 'Get_Experience_Details' has primitive type 'string' and does not require 'complex_data_type_name'. Only 'object' and 'list[object]' types require 'complex_data_type_name'.

Missing type for inputs 'email'. Expected a type after: (string, number, boolean, object, currency, ...)

Empty 'inputs' block — must contain at least one entry

Missing type for outputs 'contact'. Expected a type after: (string, number, boolean, object, currency, ...)

Empty 'outputs' block — must contain at least one entry

I've already tried:

  •  Verifying all Flow variables and their Input/Output settings. 
  •  Confirming both Flows are Active. 
  •  Removing and recreating the custom actions. 
  •  Refreshing Agentforce Builder. 

The Flow definitions appear to be correct, but Agentforce Builder continues to show these validation errors.

Has anyone experienced this in the Agentforce Builder Playground? Is this a known issue with the current Trailhead playground, or is there an additional configuration step I'm missing?

Any help would be greatly appreciated. Thanks! 

 

#Trailhead Challenges

2 件の回答
  1. 今日、3:26

    Hi @SHUBHAM KUMAR SINGH

     

     

    +1 to Danish.  

    One more thing: those errors read like Agent Script validation messages, so it’s worth switching the new Builder to Script view and looking at the action definitions directly. If the inputs and outputs blocks are empty there, the action didn’t pull the flow schema. You can either recreate the action or add the inputs and outputs with their types in the script (string for email, memberNumber and experienceName, object for the record outputs). Then save and activate the new version before checking the challenge. 

0/9000

The step is still not being marked as completed in Agentforce.

I keep getting the following error: The stage is not yet completed in Agentforce

Sales coach Agent in Agentforce Sales Coach: Opportunity Coaching topic cannot be found.

Because of this error, I cannot proceed to the next step.

I have already tried all of the solutions suggested in the Trailblazer Community, but none of them resolved the issue.

Could you please investigate and fix this problem as soon as possible?

I am unable to continue with the module until this issue is resolved, and I am running out of time. Your prompt assistance would be greatly appreciated.

2 件の回答
  1. 今日、3:25

     +1 to Danish. One more thing to check: the agent’s own name and API name. If the agent was renamed or cloned, the checker may be looking at a different agent than the one you edited. Make sure there’s only one Sales Coach agent in the org and that it’s the one with the topic. 

0/9000

Hi Trailblazers,

I am facing an issue on the challenge "Add a Flow to Your Prompt Template" under the Quick Start: Create a Prompt Builder Flex Template project.

Error Message: "Step not yet complete in Einstein AI. We can’t find the New Guest Newsletter prompt template activated."

What I have already verified/tried:

  • The prompt template "New Guest Newsletter" (API Name: New_Guest_Newsletter) is saved and Activated.
  • The Template-Triggered Prompt Flow (Get Experience Newsletter Data) is activated and properly referenced inside the prompt.
  • The Preview works as expected and generates the output correctly.
  • I have tried in second Playground and completing everything from scratch in the new org, but the error persists.
  • Tested multiple versions of the template, deactivating and reactivating, yet the issue persists.

Has anyone found a workaround for this, or is this a known issue with the verifier backend? I need help on this.  

Stuck on

 

 

 

#Trailhead Challenges

3 件の回答
  1. 今日、3:21

    Hi @Sravya Pulipati and @Gurshan Rai

     

     

    Sravya seems to have covered the usual steps to fix the issue.  When several people hit the same error, it usually needs a fix on the Trailhead side. I suggest you raise a Trailhead Help case with the module name, error screenshot and org details. 

0/9000

I have no idea what I did wrong but I am missing a step. I need guidance on how to reset the playground, though my account said I have maxed out my playground. It does not give me step by step to review what's active and what I can deactivate. I'm so closed to Innovator (91% completed) and this step is only 100 points. It said that a step is not yet complete in agentforce. It cannot find the most recent version of the agent ‘Sales Coach Agent’. 

 

I tried to reset the playground but I'm also running into no luck. Please help!

 

#Trailhead Challenges

2 件の回答
  1. 今日、3:13

    Hi @Hang Stanford

     

     

    You’re close, don’t reset anything yet. Keiji’s tip is the right place to start. The checker looks for the latest version of the agent and the exact name, so: 

    • In Setup, open Agentforce Agents, then open Sales Coach Agent in Builder.
    • Check the name and API name match what the challenge asks for exactly, spaces and capitals included.
    • If you have more than one version, deactivate the older one, make sure the latest version has all the topics and actions from the steps, and activate it.
    • Check that the challenge is pointed at the same org you built in. Some Agentforce modules need the special Agentforce Developer Edition org from the module’s signup link, not a standard playground.
    • Log out of the org, log back in, and click Check Challenge again.

     If these steps do not help, could you please share a screenshot of the exact error that you see!

0/9000
愛子 千葉 が「#Salesforce」で質問

「取引先責任者」について、 

既存の項目以外に、詳細情報を追加入力したいと考えています。 

項目としては20項目以上追加する予定なのですが、 

追加するデータは、A部門しかアクセスできないようにしたいと考えています。 

 

その場合、 

①「取引先責任者」にぶら下がる「別オブジェクト」として 

新たにオブジェクトを作成し、そこに項目追加していく方法が良いか 

②もしくは、既存の「取引先責任者」オブジェクト内に必要項目追加し 

項目アクセス権限で制御した方が良いのか 

どちらの方がレポート作成、権限設定など含め運用がしやすいでしょうか。 

 

②の場合、表示項目が多いとレイアウトが下に長くなるので 

それはあまり良くないなとは思っているのですが、 

同じオブジェクト内の方がレポート等作りやすいのかな? 

という思いもあったりで迷っております。 

 

①②以外にも、他にもっと良い方法があればぜひご教示願います。 

どうぞよろしくお願いいたします。 

 

 

#Salesforce  #Trailhead Challenges

1 件の回答
  1. 10月25日 22:11

    こんにちは。1人の取引先責任者に対して1件分の情報であれば、②の「取引先責任者に項目を追加し、権限で制御する」方法をおすすめします。 

    理由と設定のポイント: 

    1) レポート:同じオブジェクトにあるため、標準の「取引先責任者」レポートタイプでそのまま集計できます。カスタムレポートタイプの作成は不要です。 

    2) 権限:「A部門用」の権限セットを作成し、追加項目の参照・編集権限(項目レベルセキュリティ)を付与してA部門のユーザーに割り当てます。それ以外のユーザーには、画面だけでなくレポートやリストビューでも項目が表示されません。 

    3) レイアウト:動的フォーム(Dynamic Forms)で追加項目用のセクションを作り、タブに分けるか、表示条件でA部門のユーザーにだけ表示するようにすれば、ページが縦に長くなる問題も解消できます。 

    ①の別オブジェクトが向いているのは、1人の取引先責任者に複数件の情報(履歴など)を持たせる場合です。その場合は、オブジェクト権限をA部門の権限セットにだけ付与することで制御できます。 

    ご参考になれば幸いです。

0/9000

Hi  

I have completed the exact steps with same details in the Prompt Builder course - And i am stuck with this error; I have deleted, re- created several times yet the error- does not seem to resolve. 

 

Please help -

https://orgfarm-a09e7aab1a-dev-ed.develop.lightning.force.com/lightning/r/Case/500d200003aHKpmAAG/view

 

I am stuck and unable to move past this , please help me resolve this issue 

 

#Trailhead Challenges  #Agentforce

1 件の回答
  1. 10月25日 22:45

    Hi , 

     

    Salesforce Support has confirmed that this is a known issue.  

     

    Workaround to complete the challenge

     

    : Creating a new Org again from scratch and repeating the steps fixed the issue.   

     

    To create a new Org using the button " 

    Create Playground" on the unit, you should create a normal Playground from Profile > Hands-On Orgs

     

    section.  

    This will allow you to 

    Disconnect existing Einstein AI Playground

     

    from your Trailhead profile.  

    Once the exisiting Playground is disconnected, you will see " 

    Create Playground

     

    " button on the unit once again, you can use the same to initiate the creation of new Einstein AI Playground and repeat the steps.  

    This has worked for me & I was able to complete the badge.   

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

0/9000

I’m having problems with the Trailhead Create Sharing Rules. I’ve already successfully completed the previous steps, but here, after several reviews and having repeated it more than 3 times, I haven’t been able to fix the error: In the ‘Share Won Opportunities with Account Receivable’ sharing rule, it doesn’t look like the records are shared with the ‘Accounts Receivable’ role. 

Error Create Sharing Rules - In the ‘Share Won Opportunities with Account Receivable’ sharing rule, it doesn’t look like the records are shared with the ‘Accounts Receivable’ role.

 

 

image.png

 

 

 

#Trailhead Challenges

1 件の回答
  1. 10月25日 22:17

    Hi Luis, thanks for the screenshot, it shows two likely causes: 

    1) Your Opportunity organization-wide default is Public Read/Write. Sharing rules can only open access beyond the default, so with Public Read/Write the rule has nothing to share and the checker can't confirm it. Set Opportunity's default internal access to Private (as the earlier step asks), and let the recalculation finish. 

    2) The rule's criteria use Won equals True. Edit the rule and use the criteria exactly as written in the unit (Stage equals Closed Won), and set the access level the instructions specify. Keep the rule name exactly 'Share Won Opportunities with Account Receivable' and Share With = Roles: Accounts Receivable. 

    After saving, wait for the sharing recalculation email (or check Background Jobs) before you click Check Challenge. Hope this helps!

0/9000

Cannot get Communicate Between Lightning Web Components > Communicate from Parent to Child to validate after hours of troubleshooting.

  Constant error:     Step not yet complete in <<orgname>>

We can’t find the ‘counter’ attribute in the ‘c-numerator’ tag in augmentor.html”.    

1 件の回答
  1. 10月25日 22:15

    Hi Ellen, this checker reads the deployed augmentor.html in your org, so it's usually either the markup or the deploy. Things to check: 

    1) In augmentor.html, the child tag should pass the value as an attribute, like this: <c-numerator counter={startCounter}></c-numerator>. The attribute must be all lowercase (counter), with no quotes around the curly braces. 

    2) In numerator.js, counter must be a public property, declared with the api decorator and with api imported from lwc. 

    3) Right-click the augmentor folder in VS Code and choose SFDX: Deploy This Source to Org, and confirm there are no deploy errors. A local edit that wasn't deployed is the most common cause. 

    4) Make sure the org your VS Code project is authorized to is the same org selected in the challenge dropdown. 

    Hope this gets you past it!

0/9000