You need to sign in to do that
Don't have an account?
Visual Flow: Insufficient access on cross reference entity
Hi!
I have built a visual flow and hosted it on a public Force site (guest user is called "Teacher Profile").
The guest user has CREATE, READ and EDIT access to the custom object referred by the flow.
The guest user also has read and edit access to any field of the custom object.
When I run the flow, I keep getting the following error and I can't figure out why:
Error element Migrate_form_to_SF (FlowRecordCreate).
This error occurred when the flow tried to create records: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY: insufficient access rights on cross-reference id.
I understand this is about permissions, but again the guest user has permissions to all the fields listed in "Migrate form to SF".
thank for your help.
Stefano
I have built a visual flow and hosted it on a public Force site (guest user is called "Teacher Profile").
The guest user has CREATE, READ and EDIT access to the custom object referred by the flow.
The guest user also has read and edit access to any field of the custom object.
When I run the flow, I keep getting the following error and I can't figure out why:
Error element Migrate_form_to_SF (FlowRecordCreate).
This error occurred when the flow tried to create records: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY: insufficient access rights on cross-reference id.
I understand this is about permissions, but again the guest user has permissions to all the fields listed in "Migrate form to SF".
thank for your help.
Stefano
The master-detail field in the custom object was set to "Read/Write: Allows users with at least Read/Write access to the Master record to create, edit, or delete related Detail records."
After switching to Read Only, the flow worked.
All Answers
As I see you are going to access a lookup field or master detail field which the user doesn't has sufficient access rights. Please double check the fields which are referencing in the flow.
regards
Sampath
thanks for the reply.
The guest already has read and edit access to the lookup field referenced in the flow.
The master-detail field in the custom object was set to "Read/Write: Allows users with at least Read/Write access to the Master record to create, edit, or delete related Detail records."
After switching to Read Only, the flow worked.
Can you explain further? where did you change to "read only" ?
You need to change the Sharing Settings from Read/Write to Read Only on the field not on the OWD.
I hope this helps.
Thanks,
Raji M
Thanks Stefano Amenta, I just ran into this issue with a flow on a community page for public guest user. Solved it right away!