Docs
After transferring ownership of the Chargebee app in Salesforce, Apex classes such as CBLogDeletionBatch and SyncLogDeletionBatch may stop running. This usually happens because the scheduled jobs are still owned by a deactivated user. The classes are part of the Chargebee managed package and cannot be edited; you must reassign the scheduled jobs to an active user.
First Image
Second Image
Reassign the scheduled jobs to your user by making a small change to the Sync Log Frequency setting in Chargebee settings. That change triggers reassignment of the jobs.
Access Chargebee settings in Salesforce
Go to Settings > Configure Chargebee > Business Profile. Ensure you have permission to make changes.
Make a dummy update to Sync Log Frequency
Open Sync Log Frequency, make a small temporary change (for example, adjust the frequency), and save. This triggers reassignment of the scheduled jobs to your account.
Verify scheduled jobs
In Salesforce, go to Setup > Jobs > Scheduled Jobs. Confirm that CBLogDeletionBatch and SyncLogDeletionBatch are listed under your user.
Revert temporary changes
If you changed Sync Log Frequency only for this fix, set it back to the original value and save.
First Image
Second Image
Was this article helpful?