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
Kimberly Wargo 1Kimberly Wargo 1 

Finding a previously established job run

Good Morning,
A prior Admin in my org set up a job to delete records when a new import occurs in a custom object on a daily basis.
To explain, we use a custom object in our org called "Additional Related Contacts". It imports from our core banking system and attaches to our contacts object. It is supposed to delete the old and replace with the new. It appears to be not functioning and I have no idea where to even look for this job.
I've looked in scheduled Jobs, Apex Jobs, Background Jobs, Bulk data Load etc and nothing appears to be what I am looking for.
How would I go about uncovering this needle in the haystack.
Any ideas or suggestions are appreciated.

If you know the class name then you can use below query to get jobs associated with it : 
select ApexClass.Name, Id, JobItemsProcessed, JobType,  
       Status, NumberOfErrors, MethodName 
from AsyncApexJob where ApexClass.Name = 'CLASS_NAME'

- Harsha
Kimberly Wargo 1Kimberly Wargo 1
That's the issue. It was written well before me and I am trying to find it. It's broken, not dumping the old data and killing my storage..