douglascayers / sfdc-convert-attachments-to-chatter-files

📎 Easily migrate your Attachments to Salesforce Files.
https://douglascayers.com/2015/10/10/salesforce-convert-attachments-to-chatter-files/
BSD 3-Clause "New" or "Revised" License
73 stars 29 forks source link

APEX jobs never finish 'Processing' #52

Closed ghost closed 6 years ago

ghost commented 6 years ago

The issue is that the Batch Apex job always has the status of Processing and never completes.

Background:

What can I do to get the jobs to get to Completed Status?

Apex Jobs looks like this: image

douglascayers commented 6 years ago

It doesn’t look like the job has failed so perhaps it’s waiting on system resources. My thoughts are to open a case with support to see if they can identify what the jobs are hung up on behind the scenes.

douglascayers commented 6 years ago

Also, thank you for your interest in my app to convert attachments AND for the very thorough details on what you’ve tried so far :)

ghost commented 6 years ago

It turns out that there is currently a known issue with Partial Sandboxes when viewing Attachments or Content.

Here is the link to track it: Error 192261835 when viewing Attachments or Content in a Partial Sandbox https://success.salesforce.com/issues_view?id=a1p3A000000AT9DQAW

douglascayers commented 6 years ago

Thanks for the update @smaass4. Curious, did Salesforce support point you to that known issue regarding the batch jobs not completing in your sandbox?

ghost commented 6 years ago

@douglascayers , yes, I had a Salesforce Support case which was quite thorough and helped determine this was the issue. This was only for my Partial Sandbox. Our Full Sandbox and Production were fine. Note also that this was only in my Partial Sandbox after Summer 18 release.

douglascayers commented 6 years ago

Glad they were able to identify the issue. I'll go ahead and close this issue for now since it seems something Salesforce has to fix on their end.

Thanks!