Skip to main content

#Service Cloud107 discussing

CURRENT SCENERIO:

 

The chat is triggered after a chat successfully connected with omni channel and ended previously. 

The SCCAC-CreateMessagingSessionFunction Lambda raises Request failed with status code 412.  

ERROR DATA: 

    "message": "Conversation precondition failed. Please retry.", 

    "code": 10055 

 

OBSERVATION:

 

 

Temporary solution

made by deleting the messaging user related with previous messaging session. 

While deleting it shows:  

The messaging user still has open conversations in this channel, so we’ll close those first. Check back in 10 minutes and try deleting again. 

The SCCAC-CreateMessagingSessionFunction Lambda raises 412 error shows conversation precondition failed

   

I would like to know what was cause for this issue and Please help me to find the solution to overcome this issue to not get 412 error again.

1 answer
0/9000

Hello Salesforce Team,

I have a question regarding the EmailMessage object relationships.

How can we reliably determine if an EmailMessage is linked to a Case?

I noticed there are two fields:

  • RelatedToId (“Related To”)
  • ParentId (“Parent Case”)

I would like to understand the expected behavior between these two fields:

  1. Can RelatedToId be populated while ParentId is empty?
  2. Can ParentId be populated while RelatedToId is empty?
  3. When an EmailMessage is linked to a Case, should both fields always contain the same Case Id?
  4. Are there standard scenarios where the values differ?

From the documentation, I saw the note:  “RelatedToId and ParentId should have the same value when ParentId is set. You might see unexpected results otherwise.”

Could you clarify the standard Salesforce behavior and best practice to identify whether an email is associated with a Case?

Thank you.   

 

@* Service Cloud * 

1 answer
  1. May 28, 2:08 PM

    The fun of EmailMessages... 

     

    EmailMessage.ParentId in a link to Case only.  

    EmailMessage.RelatedToId is only added when Enhanced Email is activated.  

    When EmailMessage.ParentId is Case, EmailMessage.RelatedToId is also case.  

     

    EmailMessage.RelatedToId provides a What Id relationship (for example Account, Opportunity). However, it is not the only relationship to other objects (especially Who Ids). For that, you need to look at EmailMessageRelate. This object provides all the relationships. 

     

    Rule of thumb. If you are specifically looking for Email Messages related to Cases, stick to the ParentId field.

0/9000

We have a subset of contacts that are flagged as "inactive" for various reasons. When our CS teams, who use email-to-case, email out of SF, is there a way to filter out these contacts when they are adding "to" addresses in their email? 

 

Filtering Contacts on Email Activity Pane

 

 

 

#Service Cloud

1 answer
  1. Sushil Kumar (UKG) Forum Ambassador
    Yesterday, 11:50 PM
    You may have to handle this at record sharing level. Check contact org wide default is in sharing settings, that needs to be adjusted to hide those contacts. Keep in mind this will hide from not just email, but everywhere they find contacts.
0/9000

Hi community, Agentforce becomes much more valuable once it starts working with real customer conversations, emails, and support workflows. 

 

But that’s usually the point where teams begin restricting what the agents are actually allowed to see. 

 

The result is less context, limited workflows, and AI that ends up far less useful than originally expected. 

 

At InCountry, we built AgentCloak so Agentforce can work with cloaked/tokenized data while authorized users still see the original values inside Salesforce. 

 

That way, teams can keep the workflows fully usable without exposing sensitive customer data across the AI layer. Happy to share more if relevant. 

 

#Agentforce  #Data Management  #Service Cloud  #Salesforce Developer  #Salesforce

0/9000
4 answers
0/9000

Integrate Any Custom Bot To Service Cloud 

In the Agentic Era of Customer Service, many service leaders want to leverage the same custom bot solution on their customer-facing digital channels (App, Web, Social etc.) as well as across all their Digital Engagement Enhanced channels for an Unified Platform Experience.  BYOB (Bring Your Own Bot) would enable customers to integrate their custom bots with Salesforce Service Cloud. This feature will pilot in Summer'25

.  

If you are a Developer, Partner, Architect or a Customer interested in learning more about BYOB feature then we have an engaging product deep-dive session lined up on this topic.

@Sameer Sunil Deshpande @Shankar Sharma

& I would be speaking at TDX in Bangalore on 3rd May, 2025, as we take you through the technical details of BYOB feature and provide an overview of what to expect from the pilot.    

 

Stay tuned to this space for regular BYOB updates & access to more learning resources. Meanwhile,

See you at TDX!!

  

 

Integrate Any Custom Bot To Service Cloud In the Agentic Era of Customer Service, many service leaders want to leverage the same custom bot solution on their customer-facing digital channels (App, Web

 

 

.

 

#Service Cloud  #Chatbot  #BYOB  #Trailhead Challenges

1 comment
0/9000

please can anyone help? 

 

The current scenario is the following:

  • Case Exists and is waiting on customer, with an agent assigned as the owner at that time
  • Customer responds and case transitions to 'Response Received'
  • Case is picked up and put onto the queue, however the system then removes the Owner

I would like the desired flow to be as described below: 

 

  • Case Exists and is waiting on customer, with an agent assigned as the owner at that time
  • Customer responds and case transitions to 'Response Received'
  • Case is picked up and put onto the queue, with the agent owner retained
  • If the piece of work gets to the top of the queue and is pushed to a different agent via Omni then as per standard omni process the owner is changed

  

 

#Service Cloud

1 answer
0/9000

警告ポップアップを作成したいと考えております。 

ただし、基礎知識や構造理解が薄いのでなるべく簡単にできる方法を探しております。 

何かいい方法はないでしょうか。 

ご意見伺えますと幸いです。 

--------------- 

※以下Agentforceへ質問した内容です 

 

目的(やりたいこと)

ToDoオブジェクトで特定条件のとき、確定(保存/完了)前に注意ポップアップ(確認ダイアログ)

を表示したい。※ログ保存は不要 

 

対象

オブジェクト:ToDo 

関連:ToDo > 履歴(活動) 

項目:履歴(活動)内「請求先」(取引先参照)

 

条件(WHEN)

以下を同時に満たす場合:

ToDo のレコードタイプ = 「請求書発行依頼」

「請求先」に紐づく取引先(Account)のID「A」として条件を付けたい

 

期待する動き(THEN)

確定(保存/完了)前に 警告ポップアップを表示する 

想定UI:OK(続行)/キャンセル(戻る) の確認ダイアログ

 

Agentforceに確認したいこと(質問)

この要件を「ポップアップ」で実現する場合、標準機能だけで可能か?それともFlowなど が必要か? 

「確定前」= 保存ボタン押下時  

 

#Service Cloud  #Flow

2 answers
0/9000
1 answer
  1. May 20, 7:42 PM

    Hi @A Jagadeeswari - Use Agentforce Topic + Agent Action + Flow.

    1.  Create queues in Salesforce, for example: 

       Billing Queue 

       Technical Support Queue 

       Sales Queue 

    2.  Create an autolaunched Flow with input variable: 

       customerIntent

    3.  In the Flow, use a Decision: 

       If intent = Billing, update Case Owner to Billing Queue 

       If intent = Technical Support, update Case Owner to Support Queue 

       If intent = Sales, update Case Owner to Sales Queue 

    4.  Add this Flow as an Agent Action in Agentforce. 
    5.  In the Agentforce topic instructions, mention: 

       “Identify the customer intent and call the routing action with the correct intent value.” 

    Best practice: store intent-to-queue mapping in Custom Metadata, not hardcoded Queue Ids.

    For chat/messaging routing, use Omni-Channel. For Case/Lead routing, Flow updating OwnerId to Queue is enough.

0/9000

I’m currently setting up Email-to-Case, but I’ve hit a hard roadblock with our institutional IT policies. Our IT department enforces a strict, global block on auto-forwarding emails to external addresses for security reasons.   

Since the standard out-of-the-box Email-to-Case fundamentally relies on that forwarding rule, I need an alternative way to get our support inbox flowing into Salesforce.

For those of you in higher ed who have faced similar strict policies:   

  1. What alternative architecture did you use? Did you leverage Power Automate/middleware, an AppExchange tool, or something else to "pull" the emails via API?
  2. If you did successfully get an exception from IT, how did you frame the request to get them comfortable with the setup?

Any insights or specific tool recommendations would be hugely appreciated!   

 

@* Sales Cloud - Best Practices *  @* Service Cloud *  @* Sales Cloud - Getting Started * 

1 answer
0/9000