You need to sign in to do that
Don't have an account?
fourfourfun
"Who" do Apex triggers run as?
Just curious. I just slapped in a clause in validation to bypass all the rules, essentialy to let bulk data updates by system admins to change records whether or not there are rules there.
How would this apply for Apex triggers? What would they run as? The code creator? I'd love to put a piece of code into Salesforce but I don't want to get spammed by errors when I do bulk updates that trigger it.
How would this apply for Apex triggers? What would they run as? The code creator? I'd love to put a piece of code into Salesforce but I don't want to get spammed by errors when I do bulk updates that trigger it.
The only workaround I can think of is to have a checkbox field and set it to true and bypass your validation rule if this value is True and run your Trigger.
Hopw this helps !!
All Answers
Hope this helps !!
The only workaround I can think of is to have a checkbox field and set it to true and bypass your validation rule if this value is True and run your Trigger.
Hopw this helps !!