Skip to main content

#Sales Cloud103 人正在讨论

I am trying to extract an user email to an custom email field ( OppUser__Email)under opportunity from user object, based on an given name in the opportunity.

 

For example:  I have 50 users using salesforce,  and they all have full name & email set up etc.. and I have created a custom user name pickup list field(OppUser__Name) in the opportunity object, and it can be any users depending on the opportunity record, so I want to extract the email address based on the  OppUser__Name.  Thanks 

3 个回答
  1. 2024年4月17日 15:08

    Thanks Guys,      Owner.Email isn't working as  OppUser_Name  is not the record owner,  all  names in the OppUser_Name field are the salesforce users, and their email address is in the user details,  Just think if I can create a new field  OppUser__Email ookup the OppUser_Name field in opportunity, and find the name field in the user then extract the user's email address  from salesforce user details to opportunity field OppUser__Email 

0/9000

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 

0/9000

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 个回答
  1. 昨天,16:49

     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.

0/9000

Hi everyone,

I'm really stuck here with a strange issue I'm facing. When a user creates a Case and adds an Invoice Line through a Screen Flow.

The Case is created successfully, but the Flow fails when creating the related CaseInvoiceLine__c record, with the error INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY.

What’s strange is that the user has access to both the Invoice and the Invoice Line. I also tested using the same user account with a different account, as well as with a different invoice line from the samme account, and the Case was created successfully. The error only occurs with this specific Account.

Has anyone encountered something similar or have any ideas about what could cause this? Any help would be greatly appreciated!

Thanks in advance! 

 

#Salesforce Developer  #Salesforce Admin  #Sales Cloud

3 个回答
  1. Eric Burté (DEVOTEAM) Forum Ambassador
    10月14日 21:28

    Hello @Nizar Am, ok so if that does not come from the invoice record, the invoice line record, and the account, is there by any chance another lookup field to another kind of object / another record that the user should not be able to see, and might generate this error ? 

    Eric

0/9000

Hi all. Looking for input from anyone who has done B2B with many-to-many account–contact relationships.

Setup:

• B2B only; Sales Cloud is the only data source

• Contacts are linked to multiple Accounts via Account Contact Relationship (many-to-many)

• The same person can have a different role and relevance at each account

Requirement:

If a contact is related to two accounts that are both in a send's audience, they should get two emails, one per account. Each is personalised with that account's data (company name, account-level figures, etc.).

The tension:

In MC Next, segments and data graphs are anchored on Unified Individual, and identity resolution collapses the person into one profile. That's what we want for consent, which is keyed on the email address. But it seems to work against "one email per relationship". It also makes account-level merge fields ambiguous when one person has several accounts in the data graph.

Questions:

Has anyone delivered one email per account relationship in MC Next? Which pattern did you use: separate segments or flows per account, iterating over Account Contact Relationships in a flow, or something else?How do you make the data graph deterministic about which account's data renders in a given email?Any identity resolution tips for this case, e.g. keeping Contact-level identity versus matching on email?

Happy to share back what we land on

#Marketing Cloud #Sales Cloud
1 个回答
  1. 10月23日 13:18

    Hi @Lukas Lunow

     

     

    This gets easier to create an approach, when we look at how each piece works underneath. Not done personally, but this is how i would approach this: 

    1. Sending works per row, so create the rows you want sent. MC Next sends one email per record that reaches the send step. If you want one email per account relationship, you need one row per Account Contact Relationship. Build a DMO with a Data Transform, keyed on the ACR Id, with the Contact Id, email and the account fields you need (company name, figures, role) on that row. Two relationships means two rows, which means two emails.
    2. Personalization reads from the record being sent, so put the account data on that record. The data graph gets ambiguous when one person has several accounts attached, because nothing tells it which one to pick. If each ACR row already carries its own account data, the merge fields just read from that row and the output is deterministic.
    3. Identity resolution is for the person, not the relationship, so let it do only that. Unified Individual exists to collapse the same human into one profile, which is exactly what you want for consent on email. Keep Contact Id as a Party Identification and match on email. Keep account-specific attributes off the Individual, so they never compete in the unified profile. Consent and suppression stay at the person level, and the send grain stays at the relationship level.

    The main thing I’d validate is how cleanly MC Next lets you send off a relationship-level DMO while still checking consent on the linked Unified Individual. We can prototype with one contact on two accounts before rolling out. 

     

0/9000

Hi all! I think I can't get around this but I'm wondering if anyone has any ideas. I have two lines of business (line a and line b) and line b wants to see some information from line a. Previously this has not been needed or possible. 

 

I have managed (using a looking field on the opportunity and a sharing rule) to make that happen. The problem is that if line b runs an account report (for example) they get line a info and we don't want that to happen. If I remove the sharing rule that makes this whole thing work - what I created falls apart. 

 

I'm thinking the only way is do something thing that would require a LOT of work and probably involve bringing in a developer - one or more of the following 

- custom dl account reference object 

- screen flow search 

- custom LWC 

anyone have any other thoughts/ideas? 

Thank you in advance as always for any help!  :) 

 

#Salesforce Admin  #Salesforce  #Sales Cloud  #Automation

3 个回答
  1. 10月23日 11:20

    Your instinct about the screen flow is right, and it doesn't have to need a developer. 

     

    The core issue is that sharing is all-or-nothing at the record level. Once line B can see a line A Account, it shows up in every report, list view and search. You can't share a record for one screen but hide it in reports. 

     

    So flip the approach: 

     

    1. Remove the sharing rule, so line A Accounts stay private to line A. 

    2. Build the screen flow you mentioned, launched from a button on the Opportunity, and set it to run in "System Context Without Sharing". The flow can read the line A record through your lookup and display only the specific fields line B needs. 

     

    3. Show it on the Opportunity page as a screen flow component or quick action, so there are no reports and no broad visibility. 

     

    Watch out: system context also bypasses field-level security. Be deliberate about which fields the flow displays, and document it for your security or audit team (relevant at a firm like yours). 

     

    If line B also needs to report on that information, add a small custom object or a few fields on the Opportunity, filled by a record-triggered flow with a copy of just the fields they need. That gives line B something reportable without opening up the Account.

0/9000
Abby M 提问于 #Trailhead

Is there a free version to do this on the Contact object? 

 

If there's a first name/last name match via LinkedIn?  

 

#Trailhead  #Salesforce Developer  #Salesforce Admin  #Salesforce  #Data Management  #Sales Cloud

1 个回答
  1. Eric Burté (DEVOTEAM) Forum Ambassador
    10月22日 22:27

    Hello @Abby M, if you do not plan to request LinkedIn, and just navigate to it, you may create a custom field that will host the linkedin identifier of the contact, with a hyperlink formula to create the link to the linkedin page, on your contact detail page.  

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

    Eric

0/9000

Hello, I want to grant permissions for some users to be able to delete a lead from a cadence, even when some activities in that cadence have already started. How can I do that?

2 个回答
  1. 10月22日 16:14

    Hi @Lorrany Souza, 

    Ensure the users have the required Sales Engagement permissions (typically through the Sales Engagement User permission set) and access to the cadence tracking records. Active cadence targets can be removed using the standard Remove from Cadence action, even after steps have started, provided the user has the necessary permissions and record access. 

    Remove Prospects from a Sales Engagement Cadence | Salesforce Help

0/9000

 It has been observed that when an Account already exists in Salesforce, and a new Web-to-Lead form is submitted with matching Account details, a new Lead record is created but is not automatically converted into an Opportunity.

Existing Account record is identified as duplicate on the lead, even though the Account Name/Zip code values are not matching.

Is this expected Salesforce behavior?

2 个回答
  1. 10月22日 11:45

    Yes, this is expected behavior. Salesforce Web-to-Lead creates a Lead record but doesn’t automatically convert it into an Opportunity just because a matching Account exists. You’d need a separate Flow or Apex automation to handle that process. 

     

    For the matching issue, check your active duplicate and matching rules first. Use a tool or software that uses Fuzzy matching logic to help you find out duplicates and accurate lead to account matching.  

     

    Tools like LeadAngel can also help match incoming leads to existing Salesforce Accounts, even when company names have minor variations, so you can handle lead-to-account matching more accurately before deciding how to route or process the lead. 

0/9000

Hi All 

 

I have created a Pipeline Inspection list view. However when I am trying to search users in Owner filter,  I can see their teams name and not them individually.  For example, if I search Tony's name, I just see "Tony's team" in the filter and not Tony. When I read the help document, it says that Owner filter follows the Role hierarchy. 

I have System Admin role assigned to me and the user is below in the role hierarchy. What could be the reason? Please help. Thanks in advance.

@* Sales Cloud - Best Practices * 

2 个回答
  1. 10月21日 09:46

    Hi @Renu Mudhalwadkar

    ,  

    did you ever find out the reason for the described behavior?  

    I noticed the same behavior. When we search for a user in "Owner" filter we only see "XXX 's Team" as result coming up, even though this user doesn't have a role below him/her in role hierarchy (and doesn't have a team) and I don't know why. 

    I still shows the correct data, but it is irritating for the users/managers. 

    Thanks, Sue

0/9000