Skip to main content

Feed

Connect with fellow Trailblazers. Ask and answer questions to build your skills and network.

I'm currently facing an issue with displaying a Lightning Web Component (LWC) quick action button on the Task record page.

Here are the details of what I've done:

 

1. LWC Quick Action Creation:

  • I have created a Lightning Web Component for a quick action under the Task object.
  • I updated the XML as shown below:

<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">

    <apiVersion>57.0</apiVersion>

    <isExposed>true</isExposed>

    <targets>

        <target>lightning__RecordAction</target>

    </targets>

    <targetConfigs>

        <targetConfig targets="lightning__RecordAction">

            <actionType>ScreenAction</actionType>

        </targetConfig>

    </targetConfigs>

</LightningComponentBundle>

 

2. Page Layout Configuration:

  1. I have added the button to the page layout under "Salesforce Mobile and Lightning Experience Actions."

Despite following these steps, the quick action button is not visible on the Task record page. I have ensured that the action is available in the "Lightning and Mobile Actions" section of the page layout.

Can anyone help me identify what might be causing this issue or suggest any additional steps to troubleshoot? Your assistance is highly appreciated.

Thank you in advance!

 

#Developers #Lightning Web Components #Quick Actions #Pagelayouts

4 answers
  1. Nov 28, 2024, 6:00 PM

    I had a similar problem, and found a solution for my case:

    In Service Setup > Channels > Digital Experiences > Settings, make sure the "Use Lightning web components on your record pages in Aura sites" option under "Experience Management Settings" is checked.

0/9000

I have created a trigger flow by selecting 'Optimize the Flow for' as 'Fast Field Updates' When I debug the flow, I have observed that all the address fields are being populated as 'null,' even though the user provided the values. 

Address field values are getting as null in before Trigger flow

 

However, when I change the 'Optimize the Flow for' setting to 'Actions and Related Records,' I can see the address field values.  

 

Screenshot 2025-05-21 at 3.19.05 PM.png

 

Does anyone know why we do not see the address values when we select 'Optimize the Flow for' as 'Fast Field Updates'? 

 

@Salesforce Flow Automation

 

 

#Flow

6 answers
  1. Today, 7:19 AM

    Hi @Elizabeth Lester, Your understanding is correct; even in the scenario you mentioned, I need to obtain the address field details to retrieve the existing records. However, I am receiving the address fields as null. 

0/9000

Of course. Here is a clear and concise description you can post to the Salesforce Trailhead community to ask your question.

Title: How does a Salesforce Agent access parameters passed from an Apex Invocable Action?

Hello Trailblazer Community,

I am looking at the Salesforce example code for invoking an agent from Apex, as provided in this article: Invoke a Custom Invocable Action from Apex.

The example code demonstrates how to pass parameters to the agent, like a userMessage and a CaseId:

// This is the example code from the Salesforce documentation

public class AgentIAInvoker {

public static void invokeJavaAction() {

try {

Invocable.Action action = Invocable.Action.createCustomAction('generateAiAgentResponse', 'Agentforce_Service_Agent_new');

action.setInvocationParameter('userMessage', 'Summarize my case');

action.setInvocationParameter('CaseId', '500VW0XXXXXXXXXXXX');

List<Invocable.Action.Result> results = action.invoke();

Invocable.Action.Result result = results[0];

if (result.isSuccess()) {

System.debug('Output Session Id: ' + result.getOutputParameters().get('sessionId'));

System.debug('Output Agent Response: ' + result.getOutputParameters().get('agentResponse'));

} else {

System.debug('Java action execution failed: ' + result.getErrors());

}

} catch (Exception e) {

System.debug('Error invoking Java action: ' + e.getMessage());

}

}

}

My question is: Once the CaseId is passed to the 'Agentforce_Service_Agent_new' agent, how does the agent actually access or use this value?

For example, how can I reference this incoming CaseId within the agent's prompt template or pass it to a tool that the agent uses? I'm trying to understand the mechanism within the Agent Builder for receiving and utilizing these parameters from an invocable action.

Any guidance or examples would be greatly appreciated!

Thank you. 

 

 

#Agentforce  #Salesforce Developer

0/9000

My JS1 certification got suspended  while I was entering the exam and I got the below response from Kryterion, 

After i installed LockDownBrowserOEMSetupapplication.  

The staff at webassessor end helped me adjust the exam times twice.  

When I went in again, I did nothing but suddenly stopped my exam.  

I didn't receive any warning. Even worse, I didn't see the question and was forced to quit the exam. 

 

"Your exam has been suspended. We are unable to effectively and properly proctor your exam due to your failure to meet certain behavioral or environmental requirements identified by the test sponsor. You have been alerted of behaviors or testing environment infractions that inhibit effective proctoring and you have acknowledged these alerts. The permissible limit of alerts set by the test sponsor has been reached. For this reason, you may not continue your exam. Your responses received up to this point will be reviewed or submitted and your test sponsor will notify you of the final results, if applicable." To be honest I didn't do any malpractices during the exam. i showed test area and room clearly.  

 

I have already opened a case with the trailhead support team. Case no. #470809290 but no response yet. 

 

This very much disheartening to see this happing after putting a lot of efforts to prepare for the exam.  

 

I sincerely request the team to look into my case and suggest further steps to reschedule my exam at the earliest possible. 

 

Hoping to hear back soon.

4 answers
  1. Today, 7:06 AM

    So that's how it was. At that time, indeed, a civilian aircraft did fly by, and the noise was extremely loud. Could it be for this reason? This is truly puzzling. However, I still want to express my deep gratitude for your prompt reply, which gave me the courage to keep waiting. It's safer to take the exam at the testing center. It would be more convenient to do so in the future. Otherwise, it might be quite troublesome.

0/9000

while creating the new user i wasn't able to create it as it is showing like this after clicking on save. 

and also while creating in the user license iam unable to select the salesforce platform as it is not showing in the list and also in profile  

 

#Trailhead Challenges

3 answers
  1. Today, 6:59 AM

    Hi Mansa, Please do mark it as best answer if it helped and close the thread

0/9000
3 answers
  1. Today, 6:46 AM

    Hi @Manish Singh

    - This is not linked to __c as that's a standard format. Make sure that the formula field is mapped to data model object. 

     

    Thanks

0/9000
2 answers
  1. Today, 6:45 AM

    no, iam using My plaground 1 which i had started

0/9000

I’m running an email campaign using Pardot, and I’ve noticed that the emails are going to the Spam or Promotions folder in Gmail, but they are not marked as spam in Outlook.

Could you help me understand why this is happening and how to improve deliverability for Gmail?

1 answer
  1. Today, 6:44 AM

    Hi @Swapnil Shinde

     

    Make sure your sending domain is authenticated:

    • SPF (Sender Policy Framework)
    • DKIM (DomainKeys Identified Mail)
    • DMARC (Domain-based Message Authentication, Reporting, and Conformance)
    • Go to Pardot Settings → Domain Management

     

    Avoid

    spammy phrases (“Buy now”, “Free”, “Guaranteed”, etc.)

    Limit use of:

    • Multiple images or large image-to-text ratios
    • Too many links (especially tracked ones)

    Use personalized content (first name, custom text)

    Make it feel like a 1:1 message if trying to hit "Primary" 

     

    Use something like

    email.yourcompany.com instead of go.pardot.com

    Configure your CNAME tracker domain

    in Pardot 

     

    There is no specific way other than trying above things. Gmail refers spam and promotions based on the content as well. If the domain is new then the interactions should start slowly. Or else it might lead to mark as spam.. 

     

    Thanks

0/9000

I am trying to configure an Agentforce service agent that sends customers emails autonomously. I am following this guide: https://help.salesforce.com/s/articleView?id=ai.agent_email_parent.htm&type=5

 

 

This is a developer org with Agentforce enabled, made this dev org in May '25, so pretty sure it has Summer '25 features enabled. I am stuck at the 'Create an Email Configuration for Agentforce Service Agent on Email' step because I don't see 'Agentforce for Service on Email' in my setup. What am I missing? I am the admin in the org. I gave myself the 'Agentforce Service agent configuration' permission, but nothing seems to work.   

 

Is it even possible to create an Agentforce agent in the developer edition that can send emails automatically? I know this functionality is supported in the Developer edition:

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

 

 

Highly appreciate any insight into why I am not seeing 'Agentforce for Service on Email' in my setup.

1 answer
  1. Today, 6:34 AM

    Hi @Tabassum Hasnain

     

    For this feature you need to enable extra flex credits. 

     

    To get started with Agentforce for Service on Email, complete several key pre-setup tasks.

    1. Ask Salesforce Customer Support to enable flex credits billing for you.
    2. Create an Agentforce Service Agent. Then select a data source to ground its responses, and activate the service agent. Agentforce Service Agent on Email won’t be visible in Setup until you enable Agentforce. View steps.
    3. If your service agent includes a user verification topic, remove it from the agent. Agentforce Service Agent on Email doesn’t support end-user verification. View steps.
    4. Turn on and configure Email-to-Case, and add one or more verified routing addresses. View steps.
    5. Enable Lightning threading for emails

     

    Ref doc -

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

     

     

    Thanks

0/9000

https://trailhead.salesforce.com/content/learn/projects/quick-start-lightning-web-components/create-a-hello-world-lightning-web-component

 

In this challenge i created the files and followed all the steps but i can't see neither the folder nor the files in the file explorer. When i try to open that particular folder it says 'There is no data provider than can provide view data'. 

 

#Trailhead Challenges

1 answer
  1. Today, 6:14 AM

     If you're having trouble seeing files in the file explorer, it can be like not finding the right tools when you need them similar to how a well organized beauty kit or hair transplant process ensures everything is in place for a flawless result. Just like proper maintenance of your hair or skin is essential for achieving the best outcome, troubleshooting the file explorer to ensure it displays all your files is crucial for smooth functioning. A quick restart or checking your system’s settings can often fix the issue, just like how a simple adjustment in your beauty routine can make a big difference. 

0/9000