On rare occurrences, a Field Spy analysis may become "stuck" in processing. Below are the steps to abort those jobs.
1. Open the Developer Console from Setup in Salesforce
2. Navigate to Query Editor
3. paste the following statement in Query Editor:
SELECT Id, ApexClass.Name, Status, CreatedDate
FROM AsyncApexJob
WHERE (Status = 'Processing')
AND ApexClass.Name = 'MetadataAnalysisBatch'
4. press "Execute" in the lower-left corner of the window
5. get Job ID for stuck job
6. Open execute anonymous window
7. paste the following statement. Replacing "jobId" with the returned job id from step 5.
System.abortJob(jobId);
8. click "Execute".
Comments
0 commentsArticle is closed for comments.