Stuck Fieldspy Analysis

Have more questions? Submit a request

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

dev console step 1.png

 

2.  Navigate to Query Editor

query editor.png

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

Fieldspy APex Job ID.png

6.  Open execute anonymous window 

Fieldspy IOpen Execute Anonymous Window.jpg

 

7.  paste the following statement. Replacing "jobId" with the returned job id from step 5. 

System.abortJob(jobId);

abortjob updated.png

8. click "Execute". 

 

 

Articles in this section

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.