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
Vishal gadhaveVishal gadhave 

batch job processing stuck in salesforce after processing some batches

I have a batch class , it got stucked after processing some batch jobs.. it is working in some orgs but in some org its getting stucked, not throwing any error message. in the batch class I am using Tooling api and get the data and storing it. In finish method I am calling next batch class.
Any help will be highly appreciated.
hightlights class is getting stucked, In finish method i am calling next batch
PrabhaPrabha
I would put logs and check them, probably  be hitting some sort of limits.
SubratSubrat (Salesforce Developers) 
Hello Vishal ,

Can you check the Debug logs with the Finest -> https://help.salesforce.com/s/articleView?id=sf.code_setting_debug_log_levels.htm&type=5 (https://help.salesforce.com/s/articleView?id=sf.code_setting_debug_log_levels.htm&type=5)

And check if any flow or trigger are running behind the jobs .


Thank you.