function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NinoJoseNinoJose 

Case.AccountId no value on Trigger when running user is customer Portal

I have a trigger that checks for the value of Case.AccountId on a trigger. It seems like the field does not have a value on the trigger before insert of case when the running user is of type customer portal but has value when running user is a salesforce user. However on the front-end the AccountId is populated for Customer Portal as it automatically relates the case to the Person Account related to the Customer Portal User.


I can't find any documentation about this. Can somebody help?