Have researched and been working on this for a week with no avail. Really need any help in the right direction because I am so frustrated.
I have a visual workflow that runs perfectly while in Setup as a System Administrator.
However, when I insert the flow into a forcepage site and expose it to the public - The visual workflow gives me an unhandled fault on the Guest User License page account when a Record Create for a Task is initiated.
I believe it has to do with permissions for the guest account, but I have activated everything I could find for task and contact along with all of the read, create, edit permissions - but to no avail.
The error message is:
Encountered unhandled fault when running process JSDCL_Front_Desk_Sign_In/301A0000000PLo7 exception by user/organization: 00DA0000000CGkf/{4}
UPSERT --- UPSERT FAILED --- ERRORS : (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY) entity type cannot be inserted: Task --- for SFDC record with ID : null,
caused by element : FlowRecordCreate.Create_Visitor_Record_Sign_In
caused by: UPSERT --- UPSERT FAILED --- ERRORS : (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY) entity type cannot be inserted: Task --- for SFDC record with ID : null,
Please help! Thank you!
OwnerId
, look at setting theWhoId
with your Contact Id and leveraging that association instead.