You need to sign in to do that
Don't have an account?
Jordan Vasquez
Future Apex jobs stuck in queue
Hello,
I am attempting to use a Future class to send a Case over to Visual Studio Team Services via REST API. It has been working all this month but for the past few hours none of my requests have made it out of the Queued Apex Job status without a reason why. There have been no significant changes made to the code to prompt this behavior.
Is there some sort of limit that I could be hitting? Is there a way to see this information?
Thanks.
I am attempting to use a Future class to send a Case over to Visual Studio Team Services via REST API. It has been working all this month but for the past few hours none of my requests have made it out of the Queued Apex Job status without a reason why. There have been no significant changes made to the code to prompt this behavior.
Is there some sort of limit that I could be hitting? Is there a way to see this information?
Thanks.
Sorry for this issue you are encountering.
May I suggest you please give a try by using the System.abortJob(String job_Id) method from the developer console?
Below is the Link to Documentation:
- https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_system.htm#abortJob_system_method
If that won't work, I would suggest contacting SFDC support, as that's most likely an internal issue on their side (our future jobs typically run within seconds of being called, so I can't imagine the circumstances that would cause a job to remain pending after the scheduled time.)Hope this helps.
Kindly mark this as solved if the information was helpful.
Thanks,
Nagendra