Skip to main content

Hey I have problem using Salesforce Surveys. I want to send a survey with Flow and then present this survey to user without need to log - in. After opening link to the survey, i get message that flow failed and later in the mail i get such message:

Error element surveySubjectRecordLookup_var1 (FlowRecordLookup).

This error occurred when the flow tried to look up records: SubjectEntityType, SurveyInvitationId FROM SurveySubject WHERE (((SurveyInvitationId ^ ERROR at Row:1:Column:62 sObject type 'SurveySubject' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.. You can look up ExceptionCode values in the SOAP API Developer Guide.

Before I set object permissions as described in Salesforce Help (Surveys, Survey inivtations, Survery reponses). It's not technically possible to grant read access to guest experience site user profile because guest license doesn't let to do that.

Anybody encountered this before? Is it possible to present surveys to unauthenticated users?

Best regards, Rafał

4 Antworten
  1. 12. Apr. 2024, 07:35

    If you are generating and sending survey invites via flow, then you need to make sure that you assign some permission to the mandate fields that helps in these case, like 

    OptionsAllowGuestUserResponse = True

    CommunityId = ID of your Experience Cloud site

     

    If you are generating and sending survey invites via flow, then you need to make sure that you assign some permission to the mandate fields that helps in these case, like OptionsAllowGuestUserResponse

0/9000