Skip to main content

#Salesforce197 personnes en discutent

Rahul Rawat a posé une question dans #Salesforce Developer

Short gist to put above the question

One thing I would not include yet

Don't state “Amazon Connect caused the incident.” We haven't proved that. Phrase it as a lead under investigation, which will make the Trailhead question much more credible and technically precise.

 

 

#Salesforce Developer  #Salesforce  #Apex  #Trailhead

1 réponse
  1. Forum Ambassador Eric Burté (DEVOTEAM)
    Hier, à 00:13

    Hello @Rahul Rawat is it a question ?  I am not sure to understand if you are looking for help on this duplicate issue ; could you please give a bit more details ? Eric

0/9000

#Trailhead #Salesforce #Security #Permissionset For interviews, how deeply should a fresher understand Salesforce security concepts such as OWD, Role Hierarchy, Sharing Rules, Profiles, and Permission Sets? 

2 réponses
  1. Hier, à 14:33

    Hi @ROHIT PIPPERA

     

    As a fresher, you don't need advanced knowledge of Salesforce security, but you should be strong in the basics. 

     

    Focus on these key concepts:

    1. OWD: Understand Private, Public Read Only, and Public Read/Write.
    2. Role Hierarchy: Know how managers can access their team's records.
    3. Sharing Rules: Understand how to provide additional record access.
    4. Profiles: Learn about baseline user permissions.
    5. Permission Sets: Know how to provide extra permissions without changing profiles.
    6. Field-Level Security: Understand how to control field visibility and edit access.

    My suggestion:

     Don't just learn definitions. Create a few users in a practice org and test different security scenarios. 

     

    Interviewers may ask why two users with the same profile can see different records or why a user can view a record but cannot edit it.

    If you can explain these scenarios confidently, you're well-prepared for fresher-level interviews. 

     

    All the best! 

     

    Thank you, 

    Venkat Yadav.

0/9000

#Salesforce #Flow #Trailhead

 

I’m currently learning Salesforce Screen Flows through Trailhead. What real-world business scenarios should I practice to understand Screen Flow distribution, user interaction, and automated record assignment in a real Salesforce project?

4 réponses
  1. Hier, à 14:36

    Hi @ROHIT PIPPERA

     

    Screen Flows are widely used in real-time projects to collect user inputs and automate business processes. 

     

    I suggest practicing these scenarios:

    1. Case Creation: Collect customer issues and assign cases to support queues.
    2. Lead Assignment: Capture lead details and assign leads based on region.
    3. Employee Onboarding: Collect employee information using multiple screens.
    4. Opportunity Creation: Create opportunities using a guided Screen Flow.
    5. Leave Request: Allow employees to submit leave requests.

    For Screen Flow Distribution, focus on:

    • Adding flows to Lightning Record Pages and App Pages.
    • Launching flows using Quick Actions.
    • Passing Record IDs using input variables.
    • Using flows in Experience Cloud.

    My suggestion:

     Start with Case Creation and Lead Assignment. Practice Decision elements, input validation, and fault handling. 

     

    Don't just follow Trailhead steps. Build these scenarios independently in your practice org.

    All the best!

0/9000

Hi Trailblazers,

I’m looking at testing strategy for Agentforce implementations before production deployment.

Unlike traditional automation, an Agent can receive many different variations of the same user request and may choose different topics or actions depending on the conversation context.

How are you testing Agentforce in real projects?

Do you maintain a set of test utterances, negative scenarios, permission-based tests, action failure cases, and expected responses?

Also, how do you decide when an Agent is reliable enough to move from UAT to production?

Would appreciate any practical testing approaches or lessons learned.

#Agentforce #Salesforce #Production #Salesforce Developer

1 réponse
  1. 8 oct., 13:38

    Hi @Santhosh Gorantala Good question!  

     

    Testing Agentforce before moving to production is very important because, unlike traditional automation, the same question can be asked in different ways, and the agent may select different subagents or actions. 

     

    I would recommend the following approach:

    1. Testing Center: Use Agentforce Testing Center to test multiple user questions and validate whether the correct subagent and actions are selected.
    2. Positive Scenarios: Test normal business scenarios with valid inputs and expected results.
    3. Negative Scenarios: Test invalid inputs, missing records, incomplete information, and questions outside the agent's scope.
    4. Permission Testing: Test with different user profiles and permission sets. Make sure the agent respects Salesforce security and doesn't expose restricted data.
    5. Action Failure Testing: Check how the agent responds when Apex, Flow, or external API actions fail, time out, or return empty results.
    6. Conversation Testing: Test follow-up questions, context switching, ambiguous requests, and multiple questions in the same conversation.
    7. Session Tracing: Review session traces to identify incorrect subagent selection, action execution issues, and response-generation problems.
    8. Regression Testing: Maintain a reusable set of test cases and run them whenever you modify agent instructions, subagents, actions, or grounding configurations.

    When is an agent ready for production?

    I would consider it ready when critical business scenarios pass consistently, security tests are successful, actions work reliably, and there are no unresolved high-severity issues. 

     

    I also recommend starting with a limited group of users in production and monitoring the agent's responses before rolling it out to everyone. 

     

    My suggestion: Don't test only whether the agent gives the correct answer. Also verify whether it selected the correct subagent, executed the right action, respected user permissions, and handled failures properly.

    Hope this helps! 

     

    Thank you, 

    Venkat Yadav.

0/9000

Do you use managed packages built with Lightning Web Components? Your Salesforce users might be losing 30+ seconds every day on their initial record load due to a Salesforce known issue that needs to be better prioritized. 

 

Have you noticed how on some Lightning record pages, the initial load takes 30+ seconds and seems totally unexplainable? Then after that first load, it's fine for the rest of the day. 

 

Here's what makes this worse than it looks: it's not a one-time delay. Every individual user hits their own cold start, so if you have 50 users opening an affected record type each morning, that's 50 separate 30-60 second delays, every single day. The productivity cost scales directly with your user count. 

 

We spent weeks investigating this on our managed package pages with the managed package vendor before Salesforce support confirmed it's a platform-level known issue affecting Lightning pages with shared component subtrees, not something specific to any one vendor's code: 

Known Issue: Flexipage performance degradation on DynamicComponent

 (Reference ID: W-23284931) 

 

This known issue feels significantly underreported for how big the impact is. If you've written it off as your imagination, blamed it on a slow server day, assumed it'll just go away, or your users have just been complaining without ever filing a ticket, this is likely why. 

 

If you manage Lightning pages with complex or shared component structures and have noticed this pattern, please report the known issue above against your own org and ask your AM for a timeline of when the issue will be fixed. At a minimum, it just takes clicking a checkbox on the known issue. I am hoping more visibility on the known issue means more pressure on Salesforce to prioritize a fix. 

 

#Lightning Performance  #Lightning Web Components  #Installed Packages  #Salesforce Admin  #Salesforce

1 commentaire
0/9000
Sam K a posé une question dans #Integration

When I try to create a record by sending a request, I get an error:

{

        "errorCode": "NOT_FOUND",

        "message": "The requested resource does not exist"

    }

 

Here's an example of the request I am making: 

url: https://myDomain.my.salesforce.com/services/data/v60.0/sobjects/Account

method: POST

authentication header: Bearer <token>

 

I am using JWT Bearer flow.

 

If I make a GET request to: https://myDomain.my.salesforce.com/services/data/v60.0/sobjects/

I get a response. But, if I make a GET request to https://myDomain.my.salesforce.com/services/data/v60.0/sobjects/Account

I get the same "he requested resource does not exist" response.

 

Not sure if that's related

 

#Integration  #RestAPI  #Error Message  #Salesforce

3 réponses
  1. 8 oct., 17:49

     One thing I would add is to treat credential rotation as a dependency-mapping exercise, not just a secret update. If several systems consume the same API credentials, documenting each integration, authentication method, owner, scopes, and last known usage can make future rotations much safer. This is especially important when APIs are being used across multiple workflows. For example, a nonprofit may have a verification service such as the Nonprofit Check Plus API connected to other systems, so keeping track of where credentials are used can prevent an unexpected integration failure after rotation. It’s also worth checking application and middleware logs for recent authentication calls before making the change. That can help identify less obvious consumers that may not be documented in Salesforce or Marketing Cloud. Once the new credentials are deployed, monitoring for authentication failures provides another layer of confirmation that no integration was missed. 

0/9000

Hi Trailblazers,

I'm working on an Agentforce implementation involving multiple subagents and actions.

When multiple subagents have similar responsibilities or overlapping instructions, Agentforce may select the wrong subagent or action.

What best practices do you follow to improve routing accuracy, avoid ambiguous action selection, and ensure consistent behavior in production?

Would love to hear your real-world experiences and recommendations.

#Agentforce #Salesforce #AgentforceBuilder

2 réponses
  1. 8 oct., 08:50

    Hi @Manohar Goud

     

    This is a common issue when we work with multiple subagents and actions in Agentforce.

    Here are a few things I would suggest: 

     

    1. Clear Responsibilities: Give each subagent a specific job. Try to avoid overlapping responsibilities.
    2. Proper Instructions: Clearly explain when to use a subagent, when not to use it, and what it should do.
    3. Meaningful Names: Use clear names and descriptions for subagents and actions so Agentforce can understand their purpose.
    4. Avoid Similar Actions: If two actions perform almost the same task, try to combine them or clearly separate their use cases.
    5. Use Agent Script: For complex or critical scenarios, use conditions and explicit routing instead of depending completely on AI decisions.
    6. Availability Conditions: Use available when conditions wherever applicable to control which subagents or actions can be selected.
    7. Handle Unclear Requests: If the user request is confusing, let the agent ask a follow-up question instead of choosing the wrong action.
    8. Test Multiple Scenarios: Test different ways users might ask the same question, including negative and overlapping scenarios.
    9. Monitor Agent Behavior: Review session traces regularly to understand why a particular subagent or action was selected.

    For example:

    If we have three subagents for Order Inquiry, Order Cancellation, and Order Modification, each should have clear instructions about which requests it handles.

    In my view, the best approach is to start with fewer subagents and actions, test them properly, and then gradually add more. 

     

    One important point: Don't depend only on AI instructions for critical business processes. Use proper conditions, permissions, and validations to control execution.

    Hope this helps! 

     

    Thank you, 

    Venkat Yadav.

0/9000
4 réponses
0/9000
Scott Holmes a posé une question dans #Trailhead Challenges

Just curious how you have used Sales Action Plans object in Sales cloud. We just got a license for Agentforce for Sales and curious how its been used. 

 

#Trailhead Challenges  #Trailhead  #Salesforce Developer  #Salesforce Admin  #Agentforce  #Salesforce  #TrailblazerCommunity  #Sales Cloud

5 réponses
  1. 8 oct., 12:34

    Venkat, thanks for the note. Glad the distinction is clear for anyone else reading this.

0/9000

Hi Trailblazers,

I’m working on a Data 360 implementation where customer data is coming from multiple source systems.

The records are being ingested correctly, but some profiles that should represent the same customer are not getting unified as expected.

In this situation, what do you normally check first — match rules, reconciliation rules, source data quality, normalization, or identity resolution configuration?

Also, what are the common mistakes you’ve seen in real projects that prevent profiles from being unified correctly?

Would appreciate insights from anyone who has handled Identity Resolution issues in production.

#Data360 #Agentforce #Salesforce #AI

2 réponses
  1. 8 oct., 09:04

    Hi @Santhosh Gorantala

    This is a common challenge when customer data comes from multiple systems.

    I would normally start by checking the match rules and source data quality.

    A few things I would suggest:

    1. Match Rules: Check whether the rules are too strict. Sometimes small differences in names, emails, or phone numbers prevent matching.
    2. Data Quality: Look for missing values, duplicate records, extra spaces, and inconsistent formats.
    3. Normalization: Try normalized email and phone matching where applicable.
    4. Data Mapping: Make sure Individual, Contact Point Email, and Contact Point Phone are mapped correctly, including their relationships.
    5. Ruleset Execution: Check whether the Identity Resolution ruleset completed successfully and review the processing results.
    6. Reconciliation Rules: If records are unified but the expected field values aren't showing, check which source is given priority.

    Simple Example:

    One system has "Santhosh Kumar" and another has "Santosh Kumar". An exact name match may fail, but fuzzy matching could help identify them as the same person. 

     

    My suggestion is to take 2–3 customer records that should match, compare their source values, and test the matching rules step by step. 

     

    One important point: Match rules decide which records get unified, while reconciliation rules decide which field values appear in the unified profile.

    Hope this helps! 

     

    Thank you, 

    Venkat Yadav.

0/9000