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
Siddharth LakhotiaSiddharth Lakhotia 

Batch Class not working for Paticular profiles ?

Hi,

I have a batch class running, which allocates sales rep based on the the zip code assigned.

My problem here is , It is running for one profile , but not running for other. .

Is there something in configuration , that I am missing ? Please advise 

 
GhanshyamChoudhariGhanshyamChoudhari
Hi,
please make sure that your batch is running without sharing


Mark as best answer if it helps you.
Thanks,
Ghanshyam Choudhari
Amit Chaudhary 8Amit Chaudhary 8
Can you please share your batch job code ?
Siddharth LakhotiaSiddharth Lakhotia
Yes, Its without sharing only.. My concern is, if it is working for one profile , why not for the other one?
Amit Chaudhary 8Amit Chaudhary 8
Can you please share you code and let us know what error you are getting while executing with other profile ?
Please share your org OWD screen shot as well