You need to sign in to do that
Don't have an account?
Sandeep Rahul PV
Getting Null in Trigger Not from SOQL query
Hi Team,
I have an issue with Trigger, please help me.
Here I wrote an After Insert Trigger on EmailMessage sObject and this is the output(Image one) and can see ActivityId = Null but when I query the record with the same EmailMessage Id there is a value for ActivityId. What could be the issue?
This will occur if the user running the anonymous apex does not have the necessary permissions to read the field. Check the field level security and make it either readable or editable for the affected user/profile.
Kindly mark it as the best answer if it works for you.
Thanks & Regards,
Priya Ranjan