Skip to main content

#Salesforce Admin427 人がディスカッション中

🚀 Agentic AI is evolving — and so are the Agentblazer Status trails. 

 

We've refreshed Champion, Innovator, and Legend with new content to make sure your skills are in step with AI innovation. 

 

Here’s what's new: 

 

⭐️ Champion — 

⭐️⭐️ Innovator —

⭐️⭐️⭐️ Legend —

And now every Agentblazer unit has AI-generated audio so learning AI is accessible from anywhere.

 

Skill up: trailhead.com/agentblazer

 

#Trailhead  #Agentforce  #Salesforce Developer  #Salesforce Admin  #TrailblazerCommunity  #Salesforce  #New Releases

 

🚀 Agentic AI is evolving — and so are the Agentblazer Status trails. We've refreshed Champion, Innovator, and Legend with new content to make sure your skills are in step with AI innovation.

 

 

5 件のコメント
  1. 今日、8:44

    Use {{ ref('Account','Id') }} instead of the Trailhead-recommended approach, which was causing an issue. I used this alternative, and it successfully resolved the error. 

    Below the generated JSON.  

    Use {{ ref('Account','Id') }} instead of the Trailhead-recommended approach, which was causing an issue. I used this alternative, and it successfully resolved the error. Below the generated JSON.

     

     

0/9000

Hi Trailblazers, 

 

We often discuss Agentforce from a developer's perspective, but I believe Admins also have many opportunities. 

 

How are Salesforce Admins using Agentforce for record management, business processes, user support, or automation? 

 

Can an Admin with strong Flow and configuration skills build useful Agentforce solutions without much Apex knowledge? 

 

Would love to hear practical use cases. 

 

 

#Agentforce #Salesforce Admin

1 件の回答
  1. 昨日、10:44

    Hi @Pavan Kumar Gandi I believe Salesforce Admins can get a lot of value from Agentforce, especially when they already have strong Flow and configuration skills.

    How Admins can use Agentforce:

    1. Record Management – Create, update, and retrieve records using Flow actions.
    2. Business Automation – Automate approvals, follow-ups, and repetitive tasks.
    3. User Support – Help employees find information and answer common questions.
    4. Case Management – Summarize cases and assist support teams.
    5. Setup Assistance – Use Setup with Agentforce for supported admin tasks and troubleshooting.
    6. Custom Agents – Build agents using Flow, Prompt Builder, and standard actions.

    Real-Time Example:

    An employee asks Agentforce to create a support request. The agent collects the required details, calls a Flow to create a Case, and shares the Case number.

    My View:

    Yes, Admins can build useful Agentforce solutions without much Apex knowledge. Apex becomes important when requirements involve complex logic or custom integrations.

    Useful Salesforce References:

    1. Agentforce Customization with Flows: 

      https://trailhead.salesforce.com/content/learn/modules/agent-customization-with-flows
    2. Create Agent Actions Using Flow: 

      https://trailhead.salesforce.com/content/learn/modules/agent-customization-with-flows/add-a-flow-as-an-agent-action
    3. Agentforce Customization Overview: 

      https://trailhead.salesforce.com/content/learn/modules/agent-customization-quick-look

    Similar Trailblazer Discussions:

    1. How Are You Using AI to Improve Salesforce Workflows? 

      https://trailhead.salesforce.com/de/trailblazer-community/feed/0D5KX00000jARpK0AW
    2. Can Setup with Agentforce Be Used for Admin Tasks? 

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

    Admins should strengthen their Flow skills and start learning Agentforce. No need to become an Apex expert before getting started.

0/9000

#Salesforce Admin #Validation Rules #Flows A company wants to prevent users from closing an Opportunity unless the Amount, Close Date, and Competitor fields are filled in. Would you use a Validation Rule or a Flow, and why?

1 件の回答
  1. 今日、7:08

    Hi @SAITEJA B Good question! Both Validation Rules and Flows are used in Salesforce, but they serve different purposes.

    1. Key Differences

    • Validation Rule: Prevents users from saving records when required conditions are not met.
    • Flow: Automates business processes such as creating records, updating fields, sending notifications, and approvals.

    2. Your Business Scenario

    I would recommend using a Validation Rule because the requirement is to prevent an Opportunity from moving to Closed Won when mandatory fields are missing.

    Example Formula:

    AND(

    ISPICKVAL(StageName, "Closed Won"),

    OR(

    ISBLANK(Amount),

    ISBLANK(CloseDate),

    ISBLANK(TEXT(Competitor__c))

    )

    )

    Assuming Competitor__c is a picklist field.

    3. When to Use Each?

    1. Validation Rule: When you need to stop incorrect or incomplete data from being saved.
    2. Flow: When you need to automate actions based on business conditions.

    4. Official Salesforce Resources

    Use a Validation Rule for this requirement. It's simpler, easier to maintain, and prevents incomplete Opportunity records from being closed.

    Key Point: Validation Rules control data quality, while Flows automate business processes.

     

    Hope this helps! Venkat Yadav |

    SFDCINDIA

0/9000

#Salesforce Admin #OWD AccessIf Organization-Wide Defaults (OWD) are set to Private but a user can still view another user's records, how would you identify the exact source of access and troubleshoot it? 

1 件の回答
  1. 今日、7:09

    Hi @SAITEJA B Good question! Even when OWD is set to Private, users may still access other users' records through additional sharing settings or permissions.

    1. Steps to Troubleshoot Record Access

    1. Check OWD: Confirm the object's default access is Private.
    2. Profile & Permission Sets: Check for View All, Modify All, or View All Data permissions.
    3. Role Hierarchy: Verify whether the user is above the record owner in the hierarchy.
    4. Sharing Rules: Check owner-based and criteria-based sharing rules.
    5. Manual Sharing: Verify whether the record was shared directly with the user.
    6. Account/Opportunity Teams: Check whether team membership provides access.
    7. Public Groups: Review group membership and record-sharing permissions.

    2. How to Identify the Exact Access Source

    • Open the record → Sharing Hierarchy to review who has access and why.
    • Use the UserRecordAccess object to check the user's effective record permissions.
    • Review the object's Share records for additional sharing details.

    3. Official Salesforce Documentation

    Create two test users, set Account OWD to Private, and grant access through different sharing methods. Then investigate how each user received access.

    Key Point:

    OWD defines the minimum record access. Other permissions and sharing mechanisms can provide additional access. 

     

    Hope this helps! Venkat Yadav | SFDCINDIA

0/9000

Hi All - I am on my way to be an Agentforce Legend, I have connect my org to slack and got approval from my salesforce org and even actuvated from slack appliaction as a new user what all are the steps that i am missing here. 

 

1. Approval from slack done 

2. Approval from Salesforce org done. 

3. Install Packages used for slack. 

4. Used necessary slack subagents and actions done. 

 

Only the difference is the username used in Slack creation org is 

Jone.done@gmail.com, where as while dealing with "Configure a Slack Agent in Salesforce" I am using email as Jone.slack@gmail.com

 

 Following to the above i think agentforce should be approved in slack and activated which we are missing per Google AI

 

#Trailhead Challenges #Agentforce #Slack Developers

 

#Salesforce Admin

5 件のコメント
  1. 今日、7:14

    Hi @Vivek Dayafule You're welcome! I understand your concern. Since you've already completed the prerequisites, I don't think you need to repeat all the steps.

    A few suggestions:

    1. Org Compatibility: Confirm whether your Quick Start org supports Slack deployment.
    2. Agent Activation: Your screenshot shows the Product Management Agent is active.
    3. Slack Deployment: Check whether the agent is deployed to Slack, not just connected or authorized.
    4. Email Difference: Since Salesforce Support contacted you about the email address, confirm whether user mapping is causing the issue.
    5. Trailhead Support: Ask them to verify whether your org is correctly provisioned for this challenge.

     Since you've already tried the required steps, I would focus on Salesforce Support confirming the org's Slack deployment eligibility rather than repeating the setup. 

     

    Hope this gets resolved soon! Venkat Yadav | SFDCINDIA

0/9000

With the Headless Experience Layer (HXL), you build one interactive widget in declarative JSON, and it renders natively in Agentforce, Claude, ChatGPT, and Slack. No rebuilding the same screen for every surface. 

 

Ready to try it? Start here:

 

 

#Salesforce Developer  #Salesforce Admin  #Agentforce  #Salesforce  #TrailblazerCommunity

2 件のコメント
0/9000

Salesforce Developer Roadmap in the AI Era (2026–2027) 

 

Hi Trailblazers, 

 

With Agentforce, Data 360, and AI becoming part of Salesforce development, I believe developers need to strengthen their core technical skills while learning new AI capabilities.

Here is my suggested learning roadmap for beginners and working professionals. 

 

1. Salesforce Fundamentals

  • CRM basics, Objects, Fields, and Relationships
  • Security, OWD, Profiles, and Permission Sets
  • Flow Builder and Validation Rules

Salesforce Developer Beginner

 

2. SOQL & Apex Development

  • SOQL, SOSL, and Relationship Queries
  • Apex Classes, Triggers, and Collections
  • Bulkification, Governor Limits, and Test Classes

Apex Basics

 

3. Lightning Web Components (LWC)

  • HTML, CSS, and JavaScript
  • Components, Events, and Data Binding
  • LWC with Apex and Lightning Data Service

LWC Developer Guide

 

4. Salesforce Integrations

  • REST APIs, JSON, and OAuth 2.0
  • Named Credentials and Apex Callouts
  • Platform Events and Asynchronous Apex

Apex Integration Services

 

5. Salesforce DevOps

  • VS Code, Salesforce CLI, and Git
  • Sandboxes, Deployments, and Testing
  • CI/CD and DevOps Center

Salesforce CLI

 

6. Agentforce & AI Development

  • Agentforce Builder, Subagents, and Actions
  • Agent Script and Prompt Builder
  • Apex and Flow Actions for AI Agents
  • Agent Testing, Security, and Debugging

Agentforce Developer Guide

 

7. Data 360

  • Data Streams and Data Lake Objects
  • Data Mapping and Identity Resolution
  • Data Graphs, Retrieval, and Agentforce Grounding

Data 360 Learning

Data 360 Overview – SFDCINDIA

 

8. Real-World Projects

Build at least three practical projects:

  1. Student Management System – Admin, Apex, and LWC
  2. Customer Support Application – Flow, Integration, and Security
  3. AI Customer Support Agent – Agentforce, Actions, and Data 360

My Suggestion:

Don't jump directly into Agentforce without understanding Salesforce fundamentals.

Learn Salesforce → SOQL → Apex → LWC → Integration → DevOps → Agentforce → Data 360

AI can help developers write code faster, but understanding business requirements, architecture, security, debugging, and testing will remain essential.

My Key Point: The future belongs to developers who understand both Salesforce Development and AI.

What skills are you focusing on to stay relevant in the AI era? 

 

Venkat Yadav | SFDCINDIA

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

0/9000

Hi Salesforce Community,

I have created an Apex class named SingleEmailLimitController to check the daily single-email limit in my Salesforce organization. The class retrieves the email limit using System.OrgLimits.getMap() and returns the daily limit, emails used, emails remaining, and a status message.

I am trying to write an Apex test class to achieve 100% code coverage, but I am facing difficulties covering all the conditional branches and the exception-handling block.

My main challenges are:

  1. Testing the scenario where limits.get('SingleEmail') returns null.
  2. Covering the condition where the daily email limit has been reached or exceeded.
  3. Covering the condition where 10 or fewer emails remain.
  4. Covering the condition where sufficient email capacity remains.
  5. Covering the catch (Exception e) block.
  6. Testing these scenarios without depending on the actual email usage and limits of the Salesforce organization.

Since System.OrgLimits.getMap() returns system-provided limit information, I am unsure how to simulate these different scenarios in an Apex test.

My Apex controller:

public with sharing class SingleEmailLimitController {

public class EmailLimitResponse {

@InvocableVariable(label='Daily Single Email Limit')

public Integer dailyLimit;

@InvocableVariable(label='Emails Used')

public Integer emailsUsed;

@InvocableVariable(label='Emails Remaining')

public Integer emailsRemaining;

@InvocableVariable(label='Limit Status Message')

public String statusMessage;

}

@InvocableMethod(

label='Check Single Email Limit'

description='Checks daily email usage and returns a status message.'

)

public static List<EmailLimitResponse> checkSingleEmailLimit(

List<String> requests

) {

EmailLimitResponse result = new EmailLimitResponse();

List<EmailLimitResponse> results =

new List<EmailLimitResponse>();

try {

Map<String, System.OrgLimit> limits =

System.OrgLimits.getMap();

System.OrgLimit emailLimit = limits.get('SingleEmail');

if (emailLimit == null) {

result.statusMessage =

'Unable to retrieve the daily email limit.';

} else {

result.dailyLimit = emailLimit.getLimit();

result.emailsUsed = emailLimit.getValue();

result.emailsRemaining =

Math.max(

0,

result.dailyLimit - result.emailsUsed

);

if (result.emailsUsed >= result.dailyLimit) {

result.statusMessage =

'Daily email limit exceeded. No email capacity remains.';

} else if (result.emailsRemaining <= 10) {

result.statusMessage =

'Daily email limit almost reached. Only ' +

result.emailsRemaining + ' emails remaining.';

} else {

result.statusMessage =

'Email capacity available. ' +

result.emailsRemaining +

' emails remaining out of ' +

result.dailyLimit + '.';

}

}

} catch (Exception e) {

result.statusMessage =

'Unable to check email limit: ' + e.getMessage();

}

results.add(result);

return results;

}

}

My questions:

  • Is it possible to achieve 100% code coverage for this controller without changing its implementation?
  • If not, what is the recommended approach for making the limit values testable?
  • How can I write a complete Apex test class that covers all the conditional branches and the exception-handling block?
  • Would using a @TestVisible helper method or an injectable service be a suitable solution?

Please share a working example of the controller changes, if necessary, and the corresponding Apex test class.

Thank you for your help! 

 

#Salesforce Developer  #Salesforce Admin  #Trailhead Challenges  #Trailhead

2 件の回答
  1. 今日、4:36

    Hi @HARIPRASAD Km Good question! Since System.OrgLimits.getMap() returns actual Salesforce org limits, you cannot directly mock its values in an Apex test class.

    1. Recommended Approach

    1. Separate the Logic: Move the email limit calculations and status messages into a separate helper method.
    2. Use @TestVisible: Make the helper method accessible to test classes.
    3. Pass Test Values: Test the logic using different values instead of depending on actual org limits.
    4. Test All Conditions: Cover limit exceeded, 10 or fewer emails remaining, and sufficient capacity.
    5. Exception Handling: Use dependency injection with a test provider that throws an exception to cover the catch block.
    6. Null Scenario: Use an injectable provider to simulate missing limit information.

    2. Simple Apex Example

    @TestVisible

    private static String getLimitStatus(

    Integer dailyLimit,

    Integer emailsUsed

    ) {

    Integer remaining = Math.max(0, dailyLimit - emailsUsed);

    if (emailsUsed >= dailyLimit) {

    return 'Daily email limit exceeded.';

    } else if (remaining <= 10) {

    return 'Daily email limit almost reached.';

    }

    return 'Email capacity available.';

    }

    3. Test Different Scenarios

    @IsTest

    static void testEmailLimitStatus() {

    System.assertEquals(

    'Daily email limit exceeded.',

    SingleEmailLimitController.getLimitStatus(100, 100)

    );

    System.assertEquals(

    'Daily email limit almost reached.',

    SingleEmailLimitController.getLimitStatus(100, 95)

    );

    System.assertEquals(

    'Email capacity available.',

    SingleEmailLimitController.getLimitStatus(100, 50)

    );

    }

    4. Official Salesforce Documentation

    My Suggestion: Use @TestVisible for simple logic testing and dependency injection when you need to simulate null values or exceptions.

    Key Point:

    Achieving 100% coverage reliably is difficult with the current implementation because it depends on live org limits. Refactoring makes your tests more predictable and independent. 

     

    Hope this helps! Venkat Yadav | SFDCINDIA

0/9000

#Trailhead #Salesforce Admin #Salesforce DeveloperFor a learner who has completed several Trailhead modules and earned multiple badges, what is the best step-by-step roadmap to strengthen Salesforce Admin and Developer skills and become job-ready?

2 件の回答
  1. 今日、4:20

    Hi @Sai Pavani Yamsani Good question! Completing Trailhead badges is a great start, but becoming job-ready requires strong fundamentals and practical experience.

    1. Recommended Learning Roadmap

    1. Salesforce Basics: Understand CRM, standard objects, custom objects, fields, and relationships.
    2. Admin Skills: Learn Validation Rules, Flows, Reports, Dashboards, and Data Management.
    3. Security: Practice Profiles, Permission Sets, OWD, Role Hierarchy, and Sharing Rules.
    4. SOQL: Learn queries, filters, and relationship queries.
    5. Apex: Practice classes, triggers, collections, governor limits, and test classes.
    6. LWC: Learn HTML, JavaScript, components, events, and Apex integration.
    7. Integration: Understand REST APIs, JSON, authentication, and Apex callouts.

    2. Official Salesforce Learning Resources

    3. Become Job-Ready

    • Build 2–3 real-world projects in a Developer Org.
    • Practice debugging and solving business requirements.
    • Prepare Admin and Developer interview questions.
    • Create a strong resume and LinkedIn profile.
    • Practice explaining your projects through mock interviews.

    Focus on Admin fundamentals first, then move to SOQL, Apex, LWC, and Integrations. Don't try to learn everything at once.

    Key Point: Trailhead badges show your learning progress, but real-world projects demonstrate your practical skills.

    Hope this helps!

    Venkat Yadav | SFDCINDIA

0/9000

#Salesforce #Salesforce Admin #Salesforce DeveloperWhat is the recommended approach for deploying Salesforce customizations between development, testing, and production environments using sandboxes, change sets, Salesforce CLI, and DevOps Center while maintaining sufficient test coverage and minimizing deployment failures?

2 件の回答
  1. 今日、4:22

    Hi @Sai Kumar Good question! In real Salesforce projects, deployments should follow a proper process to avoid production issues.

    1. Recommended Deployment Process

    Development Sandbox → Testing Sandbox → UAT → Production

    1. Development: Build and test changes in a Developer Sandbox.
    2. Testing: Verify Apex, Flows, permissions, and dependencies.
    3. UAT: Allow business users to test and approve the changes.
    4. Production: Validate and deploy after successful testing.

    2. Salesforce Deployment Tools

    • Change Sets: Best for simple Admin changes and smaller deployments between connected orgs.
    • Salesforce CLI: Best for developers deploying metadata using VS Code, Git, and automation.
    • DevOps Center: Useful for team collaboration, version control, work items, and release pipelines.

    3. Best Practices

    1. Maintain at least 75% overall Apex code coverage and cover every trigger with tests.
    2. Avoid SOQL and DML inside loops.
    3. Include all required metadata dependencies.
    4. Validate changes before production deployment.
    5. Use Git for version control and code reviews.
    6. Prepare a rollback plan and perform post-deployment testing.

    4. Official Salesforce Documentation

    Start with Change Sets to understand deployments, then learn Salesforce CLI with Git. For team-based projects, explore DevOps Center.

    Key Point: A successful deployment is not just moving changes to production. It's about testing, validation, security, and minimizing business impact.

    Hope this helps!

    Venkat Yadav | SFDCINDIA

0/9000