You need to sign in to do that
Don't have an account?

insert record by data loader and what the value of boolean static varible in trigger
to avoid recursive trigger i have used static boolean(flag=true) variable in class. if i insert 4000 records by data loader, for next batch size will the flag will be true or false. will the records get inserted????
Each batch executes in a separate transaction. So the flag will be reinitialized to its initial value. If the initial value is true then for next batch the flag will be true.