I am trying to implement salesforce survey using flow and process builder. I have created a flow which creates survey invitation record whenever case status is changes, i am assigning its participant id to parent contact of the updated case.
I have process builder which launches this flow on case record change. But I am receiving following error :
RECORD CREATE: Create_Survey_Invitation Create one SurveyInvitation record where:
CommunityId = {!communityId} (0DB2E000000g1UaWAI)
Email__c = {!contactEmail} ([email protected])
Name = {!formula_surveyName} (Survey for Case 00001029)
OptionsAllowGuestUserResponse = true
OptionsCollectAnonymousResponse = true
ParticipantId = {!contactId} (0032E00002T9AYzQAN)
SurveyId = {!surveyId} (0Kd2E000000kf5fSAA)
Result
Failed to create record.Error Occurred: This error occurred when the flow tried to create records: UNKNOWN_EXCEPTION: Because this is an anonymous survey, remove the participant ID and try again.. You can look up ExceptionCode values in the SOAP API Developer Guide.