New answers tagged

0

Records that are created from the PreChat form are by "Automated Process" user (An internal Salesforce user). We cannot query this user details in Apex / Triggers. We have a contact trigger, where there was a query on User object. Select Id, XXXXX FROM User WHERE id =: UserInfo.getUserId(). While PreChat is trying to create a record, it is failing here and ...


Top 50 recent answers are included