Skip to main content

#Case0 discussing

I am trying to assign the "User Connect API " permission to a user in my Salesforce org,but it is not visible in System Permissions list while creating or edition permission set. 

Her are the details: 

User License: Salesforce 

 

We are attempting to use the Connect API class in Apex to post Chateer feed items(with @mentions), but are encountering the error: 

"ExecutionException: Insufficient Privileges: The Connect API is not enabled for this user type." 

 

Please help us  on enabling the "Use Connect API" permission.

 

#Case  #API

2 comments
  1. Jul 6, 2025, 11:33 AM

    HI Abhishek, 

    We are referring to the user who have similar access like System Admin. 

    And even though we looked into standard profiles like System Administrator for the already enabled permission set there is no luck. 

    If the standard configuration does not support, Is there any way we can query that permission and assign to the user? 

     

     

     

0/9000

Hello Everyone,

 

Just want to ask why in messaging session from inactive to waiting to active status, change the related record case subject field gets updated from being populated to blank? why this happens?

 

#Omni Channel #Messaging Session #Case

4 answers
  1. Nov 13, 2023, 6:26 AM

    thanks for responding to my question, but this is now solved i just add a decision element to check if case already exist in messaging session and if exist just do nothing, to answer the question its a messaging for web only and I'm not observing the case

0/9000

Hallo Team,

I am really curious to undersatnd two times I got disruptions to write my certificationexam.

a) on 26.10 my Salesforce Certified Identity and Access Management Architect examination got suspended abruptly .

b)I rescheduled the exam on site for Nov 8 and I got an email that it is canceled with out any explanation.Could you please let me know  what will be next steps on attempting this exam.

 

Case numbers #Case #468950916 Case #469008635

2 answers
  1. Nov 4, 2024, 8:52 PM

    Hi @krishna chaitanya I regret any inconvenience you are facing. Please note that the team is currently experiencing a high volume of cases. We appreciate your patience and assure you we'll work as quickly as possible to resolve your issue.

0/9000

Hallo Team,

I am really curious to undersatnd two times I got disruptions to write my certificationexam.

a) on 26.10 my Salesforce Certified Identity and Access Management Architect examination got suspended abruptly .

b)I rescheduled the exam on site for Nov 8 and I got an email that it is canceled with out any explanation.Could you please let me know  what will be next steps on attempting this exam.

 

Case numbers #Case #468950916 Case #469008635

1 answer
  1. Smitha Thomas (CIBC) Forum Ambassador
    Nov 4, 2024, 6:17 PM
0/9000

Using Salesforce Surveys With Cases

 

Step 1: Add a custom look-up field to the Case object to the Survey Invitation object. Make sure to that the related list - Survey Invitations - shows up Case page layout.

 

Step 2 - Optional but recommended - Add a URL field to the Case object called Survey Link. Will explain how to use this later.

 

Step 3 - Create your Case Survey - remember you can only have one survey unless you purchase a Survey Creator license.

 

Step 4 - In a Case record, find the related list created in step 1. Click on New. Then create and save the Survey Invitation. Make sure to link the Invitation to a Community (Network field) and to the Case Survey created in Step 3. Recommend that you name it something useful like "Survey for Case <CaseNumber>. The record is automatically linked to the case.

 

Another optional field is Survey Invitation Expiration date. Once this time passes, the invitation link associated with the invitation is no longer any good. Currently, by design, this field is not editable once the Survey Invitation is created, and you cannot edit the field if the record is created manually. But if you use an automated process to create the invitation, you can set a value.

 

Step 5 - Once the Survey Invitation is created, the Survey Link is automatically generated (formula field ?). If all is OK, when you click on the link in the survey invitation record, the survey linked to your community should launch.

 

Step 6 - Send the survey link to the case contact in an email. And wait . . . wait . . .

 

Step 7 - If the contact responds, you can see the responses in the Case record. First, open the Survey Invitation in the Case related list. Next, open Survey Response in the Survey Invitation related list. The responder is named "Anonymous Responder". But because the Invitation is linked to the Case, you should know who the responder is. You can get multiple responses to the same cases. Because the invitations are anonymous, multiple responses could be generated for one invitation. But since each case has a unique invitation this should not be a problem. Finally, on the Survey Response record, there is one more related list - Survey Question Responses. So you can see all of the responses related to the case.

 

Doing More - Reporting

You have to create a new Report Type that shows Surveys, Survey Invitations, then Survey Responses, and finally Survey Question Responses. 

 

Because the Case record is linked to the Survey Invitation, you can add the Case related fields like Contact Name, Account Name, and Case Owner as available fields (and available for filtering). 

 

If you only have one Survey, this will work fine. If you have multiple surveys, you can filter the report to show Survey Invitations from only selected Surveys.

 

Doing More - Email Template

If you created the Survey Link on the Case object in optional Step 2 and you populate that field after the Survey Invitation is created, you can can create an email template that you use with the case. Send the email to the Case Contact and include the Survey Link field along with any other useful information you want to pass to the case contact.

 

With an email template, you could have a workflow rule that sends the invitation to case contact when:

  • The case is closed.
  • The case contact has an email address.
  • The Survey Link field is populated.

Doing More - Automated Creation of Survey Invitation

You can create a apex method that automatically creates the Survey Invitation. You can run the process from a Case Trigger or from a button/action on the Case. If you go this route, you need to have the Survey record ID and your Community (Network) record ID. I suggest putting these values in custom settings or metadata instead of specifying them explicitly in the code.

 

And once the Survey Invitation is created, the same process can update the Case record with the freshly created Survey Link.

 

Would love to get feedback on this. 

 

Comments? Questions?

24 comments
  1. Nov 1, 2024, 10:59 AM

    @David Claiborne Thanks for the info. But is it possible to see survey responses as a separate section in case page layout itself ? Instead of going to related list and navigating to response records?

0/9000

Relating Cases and Accounts and Contact to Surveys in Reports

 

Although the use of the Survey Subject object allows you to see related lists of Survey Invitations and Responses on each case record, it does not allow you to report on survey responses by Account, Case Agent, Contact, Case Product, etc.

 

The "best" (IMHO) way to do this is to add a custom look-up field to the Case on the Survey Invitation object. With the field in place, you can create custom report types that can include all of the Case fields as well as related fields on lookup fields on the Case, like Account Name and Contact Name.

 

The hard part is populating the Case lookup field.

 

When you use the Send Survey Invitation action in a process from a case, the Survey Subject record is created which links the Case and the Survey Invitation.

 

I created a simple flow that fires whenever the Survey Subject is created or edited. If the SubjectEntityType is "Case" and the ParentId is a Survey Invitation (starts with "0ki"), the process copies the SubjectId field to the a custom field called Subject Case on the Survey Invitation. 

 

To make it easy to implement, I created an unmanaged package that anyone can install (and modify as needed). The package contains the flow definition and the custom field Subject Case for the Survey Invitation object.

 

Use this URL to install the package into any organization:

https://login.salesforce.com/packaging/installPackage.apexp?p0=04t2J0000003vGa

 

Note: If you are installing into a sandbox organization use https://test.salesforce.com/packaging/installPackage.apexp?p0=04t2J0000003vGa

 

This is all open source. Use at your own risk. Try the sandbox first.

 

Let me know if you have any questions or comments.

 

Enjoy!

4 comments
  1. Apr 2, 2024, 3:04 PM

    One approach is to use a Case Auto Response Rule.

     

    There is an option to send a survey to the Case Contact. The email that goes out does show the Case Number, but not much else. And there is limited editing available.

     

    When you use this, the survey invitations are a related list on the Case, and you can see the responses by in the related list (Lightning Only).

     

    Let me know if this helps. Feel free to send me a direct message for more ideas.

0/9000

In a salesforce community is it possible to change the Case Owner in the highlights panel to only show as ID only in Community? We still want to see the Case Owner's name when viewing in SF though.

Communities QuestionsAlso in the same screenshot, is it possible to hide the Email Feed unless we can only see back and forth emails. Currently we can see updates and milestones information but the BU wants to be able to only show back and forth emails and then only show the Email feed tab when those back and forth emails are present. Are these things possible?

#Community #Community Cloud #Service Cloud #Case

2 answers
0/9000

Is it possible to pause the Case Age calculation when Case status = On hold? 

Goal is to count Case Age : Creation to close  - the time it stayed in On hold status. 

Business hours are in use.

Like to have on specific record type.

 

#Case  #Service Cloud

3 answers
0/9000

Anyone free app or tool one can recommend to send the survey to the case`s contact when the case is closed? Once the contact person associated with the case filled out the survey, it should come back to SF & associated with the right Case & contact record.

There is no community /experience cloud setup in place.

 

The contact associated with Case does not have access to SF.

 

Installed this free app https://appexchange.salesforce.com/appxListingDetail?listingId=a0N30000003I2gDEAS & explored the standard SF survey feature. They both work well if there is a guest site configured to capture the response from non-sf users. 

 

Even If I create dummy guest site ( Public) , I am not sure if that will work or not. 

 

#Salesforce Survey  #Surveys  #Case  #Service Cloud

2 answers
0/9000

What be the best way to view a contact and see a chronological timeline of all cases and activities?

(I can get a related list of Cases but no description) and separately the Activity list.

Users want one chrono list of

- Cases with Descriptions

- All case notes, comments, emails

 

Thinking every time a case is created, copy Case link, Subject, Description, Stage to an activity?

Any other options or methods people use?

3rd party apps?

Thanks

 

#Case  #Service Cloud  #Cases  #Contacts  #Customer Service  #360 Degree View

1 answer
  1. Feb 28, 2024, 10:08 PM

    It should be possible by creating a custom related list LWC component which shows the required data. You will have to involve a Salesforce developer to achieve this functionality. 

0/9000