You need to sign in to do that
Don't have an account?
Brian11
Allow only certain triggers to fire when using batch apex
Is it possible to fire only some triggers when you create a batch task?
I'm running into a problem where a batch task performs and because one of my triggers uses. It doesnt fire but I need that trigger to fire.
if(!System.isBatch()){
}
I'm running into a problem where a batch task performs and because one of my triggers uses. It doesnt fire but I need that trigger to fire.
if(!System.isBatch()){
}
- Using the System.isBatch
- You can do it event with Global Statue full boolean variable
https://salesforce.stackexchange.com/questions/29520/how-to-prevent-a-trigger-firing-during-a-batch-job