Skip to main content

#Salesforce_developer19 discussing

Context

We recently experienced an Email-to-Case outage where a mailbox forwarding configuration was updated for a Sandbox request, but the forwarding rule was actually tied to the active Production Email-to-Case process. This unintentionally disrupted Production email routing and prevented incoming emails from being automatically converted into Salesforce Cases until the routing configuration was restored.

As part of our ongoing Email-to-Case enhancement and Hyperforce migration efforts, we would like to understand what contingency options are available to ensure business continuity if email routing or forwarding configurations fail in the future.

Ask

Looking for recommendations and best practices from the community on:

  • What backup or failover mechanisms can be implemented for Email-to-Case?
  • How can we ensure inbound emails continue to flow into Salesforce if mailbox forwarding fails or is misconfigured?
  • Are there monitoring, alerting, or health-check approaches that can proactively identify Email-to-Case routing issues before business users are impacted?
  • Has anyone implemented secondary routing addresses, backup mailboxes, middleware, or other resilient architectures for Email-to-Case?
  • Any lessons learned or best practices for Hyperforce migrations and Email-to-Case resilience?

We would appreciate insights from teams that have implemented a robust Email-to-Case recovery or failover strategy to minimize service disruption. 

 

#Salesforce Admin  #Systems Administrator  #Salesforce Developer  #Salesforce_developer  #Email-to-case  #Trailhead    #Sales Cloud  #Service Cloud 

2 answers
  1. Oct 30, 10:16 AM

    Hi @Forent Thomas

    , 

    So the scheduled mail, how did you implemented for every day to be sent, as this can't be done as manual.

Context

We recently faced an issue where changes made to an email forwarding setup unintentionally impacted the Production Email-to-Case process. As a result, incoming emails stopped creating cases in Salesforce until the configuration was corrected. 

 

Questions

  • What backup options are available if Email-to-Case stops working?
  • How can we ensure emails still create cases in Salesforce during such outages?
  • Are there any monitoring or alerting mechanisms to detect issues early?
  • Has anyone implemented a failover or secondary routing solution for Email-to-Case?

#Salesforce Admin  #Systems Administrator  #Administrator  #Salesforce Developer  #Salesforce_developer  #Beginner Developer  #Sales Cloud

4 answers
  1. Oct 26, 4:49 PM

     Hi @Akhilesh Prajapati

    To improve Email-to-Case reliability and minimize the impact of routing failures, I would recommend the following approach:

    1. Maintain an email backup: Configure your email server to retain a copy of every incoming support email in the original mailbox or a dedicated backup folder before forwarding it to Salesforce.
    2. Configure a secondary routing option: Maintain a separate backup support mailbox or alternate intake channel. If the primary forwarding configuration fails, your email administrator can redirect incoming emails to the backup route. Test this setup carefully to avoid duplicate cases.
    3. Monitor processing failures: Configure the Automated Case User's email address to deliver Salesforce Email-to-Case error notifications to a monitored internal mailbox or distribution group.
    4. Enable error notifications: In Setup, navigate to Feature Settings → Service → Email-to-Case and review the option to notify senders about processing errors.
    5. Test the Salesforce routing address directly: Send a test email to the generated Email Services Address. If a case is created, investigate the external email forwarding configuration. If no case is created, check the Automated Case User's permissions, record types, validation rules, Apex triggers, and Flow automation.
    6. Implement monitoring: Use email-platform monitoring to alert administrators when forwarding rules change or message delivery fails. You can also periodically send test emails and verify that corresponding cases are created.
    7. Establish a recovery procedure: During an outage, preserve affected emails and create or resubmit cases after the issue is resolved. Before replaying messages, check whether a case already exists to avoid duplicates.

    Salesforce documentation:

    For a production environment, I would prioritize retaining inbound emails, monitoring processing errors, and documenting a tested recovery procedure before implementing a more complex failover solution.

    I hope this helps! If you find this answer helpful, please select it as the Best Answer. 

     

    Thanks, 

    Deepak Sachdeva 

    Nubys Technology Pvt. Ltd.

Trailhead のモジュール「Data Graphs in Data 360」の単元「Create a Data Graph」で、ハンズオン Challenge に合格できず困っています。 

 

■ 表示されるエラー 

Challenge は Data Cloud ではまだ完了していません 

Make sure the my_test_dg data graph is saved, built, and active. If the Last Run Status still shows 'Processing', wait a few more minutes. 

 

■ データグラフの状態(Data Graphs の一覧) 

・Data Graph Label / API Name:my_test_dg 

・Primary DMO:Individual 

・Data Space:default 

・Status:Active 

・Last Run Status:Success 

・Type:Standard Data Graph 

・Schedule:Weekly 

・Record Count:1,467 

 

■ データグラフの構成 

・Individual(主 DMO):Birth Date、Created Date、First Name、Last Name 

・Contact Point Address(Individual の下) 

・Account Contact(Contact Point Address の下):Account、Contact Email、Last Activity Date 

 

■ 実施したこと 

・ブラウザのキャッシュクリア 

・データグラフの再構築(Save and Build) 

・データグラフを削除し、教材の手順通りに作り直し 

・Challenge 欄の「起動」ボタンから開いた組織で作業していることを確認 

・ステータスが Active / Success になり、処理中のアイコンが消えてから Challenge を確認  

・Trailheadを言語設定を英語に変更し確認

 

■ 環境 

・Data Cloud Playground(期限:2026/10/20 午前9:00 JST) 

 

同じ現象に遭遇された方や、解決方法をご存じの方がいらっしゃいましたら、ご教示いただけますと幸いです。 

よろしくお願いいたします。 

Trailhead「Create a Data Graph」の Challenge が Active ですが合格しませんimage.png

 

image.png

 

#Trailhead Challenges  #Trailhead  #Data Cloud  #Data360  #Salesforce Developer  #Salesforce_developer

1 answer

Hi Trailblazers, 

 

With Agentforce, developers can now build AI-powered solutions using Apex, Flows, APIs, and custom actions. 

 

From your experience, how is Agentforce helping developers reduce manual work and build better solutions? 

 

Do you think Salesforce developers should focus more on Apex and LWC, or start giving equal importance to Agentforce and AI skills? 

 

Would love to hear your views. 

 

#Salesforce_developer #Agentforce

2 answers
  1. Oct 16, 10:40 AM

    Hi @Pavan Kumar Gandi Good question! I believe Agentforce is changing how Salesforce developers work, but Apex and LWC will continue to be important.

    AI can reduce repetitive work, while developers can focus more on building intelligent business solutions.

    Skills developers should focus on:

    1. Apex & LWC – Custom business logic and user interfaces.
    2. Flow – Business process automation.
    3. Agentforce – Agents, subagents, and custom actions.
    4. Agent Script – Control agent behavior and execution logic.
    5. APIs & Integration – Connect agents with external systems.
    6. Data 360 – Provide relevant business data to AI agents.

    Real-Time Example:

    A customer asks Agentforce to check an order and update its delivery address. Agentforce can use an Apex action to validate the request, update the record, and return the result.

    My View:

    Developers should not leave Apex and LWC behind. Strong development skills combined with Agentforce and AI knowledge will create better career opportunities.

    Useful Salesforce References:

    1. Agentforce Developer Guide: 

      https://developer.salesforce.com/docs/ai/agentforce/guide/get-started-actions.html
    2. Custom Apex Agent Actions: 

      https://developer.salesforce.com/docs/ai/agentforce/guide/agent-invocablemethod.html
    3. Agentforce with Apex Example: 

      https://developer.salesforce.com/docs/ai/agentforce/guide/apex-examples-custom-action.html

    Similar Trailblazer Discussions:

    1. Agentforce Learning Path – Admin vs Developer: 

      https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000mkCnA0AU
    2. Agentforce Access Through Custom LWC: 

      https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000mlSg
    3. Which Salesforce Skill Will Be Most Important? 

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

    Keep improving Apex and LWC skills, but start learning Agentforce alongside them. Both are important for future Salesforce projects.

After many years of working with Salesforce, one change I’m seeing clearly is the shift from traditional CRM automation toward AI-driven, agent-based solutions. 

 

With Agentforce, Data 360, Flow, Apex, and AI agents becoming more connected, I’d love to hear from the Trailblazer Community: 

 

What Salesforce skill do you believe will be the most important for professionals over the next 2–3 years — Agentforce, Data 360, Apex/LWC, Integration, or something else? 

 

And more importantly, why? 

 

Looking forward to learning from your experiences and perspectives.  

 

#Salesforce #TrailblazerCommunity #Agentforce #Data360 #Salesforce_developer #Salesforceadmins

4 answers
  1. Oct 16, 7:47 AM

    Thanks, @Vishal Soni, @Robbie Duncan, @Kundan Kumar Jha

    for sharing your thoughts! 

     

    I agree that Data 360 is becoming an important skill, especially as Agentforce depends on accurate and trusted data.

    At the same time, I feel Apex, Flow, LWC, and Integration will continue to play an important role in real-time projects.

    Robbie also raised a good point about AI and context engineering. Knowing how to guide and evaluate AI agents will become increasingly valuable. 

     

    My view is that learning one technology is not enough anymore. Understanding how Data 360, Agentforce, and other Salesforce technologies work together will be the real advantage. 

     

    Thanks again for making this a valuable discussion!

Hi Trailblazers, 

 

With the New Agentforce Builder, we can use Canvas and Agent Script to build agents. 

 

Agent Script gives us more control over business rules, conditions, action execution, and subagent transitions. 

 

In your experience, what are the biggest advantages of using Agent Script instead of relying only on natural language instructions? 

 

Do you think Agent Script will become an important skill for Salesforce developers? 

 

Looking forward to your thoughts. 

 

#Agentforce  #Salesforce_developer

1 answer
  1. Oct 15, 8:40 AM

    Hi @Galla Rajeswari I feel Agent Script is a useful addition to the New Agentforce Builder, especially for complex business requirements.

    A few key advantages:

    1. Better Control: Define clear business rules and conditions.
    2. Consistent Results: Helps agents follow the expected steps.
    3. Action Execution: Control when actions should run.
    4. Subagent Routing: Manage how agents move between subagents.
    5. Less AI Guesswork: Reduces unexpected agent behaviour.
    6. Easy Debugging: Makes it easier to understand and fix logic issues.

    I believe Agent Script will become an important skill for Salesforce developers, along with Apex, Flow, and LWC.

    My View: Canvas is good for visual design, while Agent Script gives developers more control over agent behaviour.

 I need to automatically create a Chatter post on a Case whenever its pending approval request is reassigned to another user using the standard Reassign action. Since triggers and record-triggered flows aren't supported on ProcessInstanceWorkitem, and the Case itself doesn't change, I'm not sure how to capture this event. Has anyone solved this, whether with scheduled polling, a custom reassign component, or another approach? Any suggestions or sample code would be appreciated.  

 

#Trailhead  #Salesforce Developer  #Salesforce Admin  #Salesforce  #TrailblazerCommunity  #Sales Cloud  #Apex  #Salesforcecommunity  #Salesforce_developer

2 answers
  1. Sep 25, 8:00 AM

    You’re correct that there isn’t a direct trigger point here. ProcessInstanceWorkitem doesn’t support Apex triggers or record-triggered flows, and reassigning the approval doesn’t update the Case itself. 

     

    If you need to keep the standard Reassign action, I’d handle it with scheduled Apex:

    1.  Run a scheduled job every few minutes. 
    2.  Query new ProcessInstanceStep records where StepStatus = 'Reassigned'. 
    3.  Use ProcessInstance.TargetObjectId to identify the related Case. 
    4.  Query the pending ProcessInstanceWorkitem for that process instance to get the newly assigned ActorId. 
    5.  Insert a FeedItem with the Case ID as ParentId. 
    6.  Store the processed ProcessInstanceStep.Id in a small custom log object with a unique/external-ID field. 
    7.  Skip any step already in that log so rerunning the job can’t create duplicate Chatter posts. 

    I’d also test it by reassigning the same approval twice and then running the job twice. The expected result should be two Chatter posts total, with no additional posts from the second job run. 

     

    If real-time posting is absolutely required, the other option is to replace the standard Reassign experience with a custom Flow/LWC backed by Apex. That custom action would update ProcessInstanceWorkitem.ActorId and create the Case FeedItem in the same transaction. But the existing standard Reassign action can’t be intercepted directly.

I need help troubleshooting a public Experience Cloud Flow for a Transitional Coach Application. The Flow works in Debug mode: it creates an Application record and sends an email. However, when I submit it through the published site in an incognito/private browser, it reaches the end but does not create the record or send the email. 

The site has a Guest User profile named “Transitional Coach Application Profile,” and Read/Create are enabled on the Application object. I need someone to identify the guest-user/Flow-context issue and help me test the fix. I can share screenshots and grant supervised screen-share access. Thanks 

 

#Salesforce_developer  #Beginner Developer  #Salesforce Developer  #Developers Edition

4 answers
  1. Sep 10, 3:40 PM

    Hi CM Seb, 

     

    Two separate root causes here, both well-documented, and both explain your exact symptom (works as admin in Debug, silently does nothing for guest users on the live site). 

     

    1. Record creation not happening: most likely the flow isn't actually enabled for the Guest User profile, even if it "worked" in Debug. 

    Profile-level object permissions (Read/Create on Application) are necessary but not sufficient. You also need to explicitly grant the flow itself to guest users, this is a separate step from object permissions: 

       - Experience Builder > Settings (gear icon) > General tab > confirm "Guest users can see and interact with the site without logging in" is checked, then click the guest user profile link. 

       - Under Enabled Flow Access, click Edit, and confirm your Transitional Coach Application flow is moved into the Enabled Flows column (not just present in the Available list). 

       Reference:

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

     

     

       This is the single most common cause of "works when I test it logged in, does nothing for actual guest visitors", the flow needs this explicit enablement separate from object CRUD permissions. 

     

    2. Emails not sending: this is a hard platform restriction, not a config you're missing. 

    As of Spring '23, Salesforce permanently removed the "Send Email" system permission from the Guest User profile across ALL orgs, and since permission sets can't be assigned to guest users either, there is no way to grant this back declaratively. This is intentional (anti-spam/abuse prevention for public-facing guest contexts), not a bug. 

     

       Workaround: don't send the email directly from the guest-context flow. Instead: 

       - Have the guest flow create the Application record only. 

       - Use a separate Record-Triggered Flow on the Application object (After Save), running as an internal/system context, not the guest user, to send the confirmation email. Since this second flow runs on the object trigger rather than in the guest user's session, it isn't restricted by the Guest User "Send Email" removal. 

     

    Given your record creation is also failing (not just email), I'd fix #1 first, that's likely blocking everything, and once records start getting created successfully, wiring up a Record-Triggered Flow for the email (per #2) will resolve the email gap cleanly without depending on guest user email permissions at all.

  1. Which release introduced native in-app Bell notifications for standard Approval Process?
  2. Is there a specific release note link for this feature?
  3. Is this enabled by default for all orgs or does it require any setup?

 

 

#Salesforce_developer

1 answer
  1. Jul 29, 4:42 PM

    Hi Nia, 

     

    Based on the available Salesforce documentation, there isn't a specific release note that states native in-app (Bell) notifications for standard Approval Processes

    were introduced in a particular release. The feature has been available in Lightning Experience for several releases, but Salesforce doesn't appear to have a dedicated release note announcing its introduction. 

     

    A few points that may help: 

     

    • Standard Approval Processes can generate native in-app (Bell) notifications for assigned approvers in Lightning Experience.
    • No additional setup is typically required to enable the Bell notifications themselves. They are part of the standard approval experience. However, users must have access to the record and the approval process must be configured correctly.
    • You can configure email and Chatter notifications for Classic Approval Processes, but Bell notifications aren't exposed as a separate org-level setting to enable or disable.

    If you're looking for an official reference, these are the most relevant Salesforce Help articles:

    If your goal is to identify when Bell notifications first became available, I haven't found an official Salesforce release note that documents their initial introduction. 

🎉 Just Hit Double Star Ranger! 🌟🌟

Thrilled to share that I have officially unlocked the Double Star Ranger rank! 🚀 It has been an incredible journey deep-diving into the platform, sharpening my Salesforce development skills, and tackling new challenges badge by badge.

A huge thank you to the amazing Trailblazer community for the constant inspiration, resources, and support along the way. 💙

Next stop: Triple Star Ranger! 🏔️✨

#Trailhead #Double Star Ranger

 

🎉 Just Hit Double Star Ranger! 🌟🌟Thrilled to share that I have officially unlocked the Double Star Ranger rank! 🚀 It has been an incredible journey deep-diving into the platform, sharpening my Sal

 

#TrailblazerCommunity #Salesforce_developer #AlwaysLearning

  

 

By the way, does anyone know if there are currently any official Trailhead swag kits or vouchers available for reaching this milestone? Would love to proudly wear some Ranger gear! 

 

1 comment