Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 42633

Questions relating to Apex, the native programming language for the Force.com platform. Use it for general questions on syntax, errors, constructs, and rules of use. Most questions should include a code *excerpt* to help answerers understand specifically what has gone wrong or why you need help.

0 votes
1 answer
3k views

Why Batch job in holding and schedule job in queue

I am having performance issue with batch Apex. Trying to reduce the waiting time. It goes to holding for 5mins . There is scheduled Apex that was queued along with that. … I suppose batch apex is always last in queue hence waiting for scheduled apex to run first. However i don't know why scheduled apex in queued for so much time. Does it give priority to Future. …
Salesforce ExpUser's user avatar
0 votes

New Apex Batch Jobs always end up in the flex queue in holding

There are 49 other scheduled Apex job quequed too. when I queried using your above Soql . I saw one "ApexToken" in "queque" status since 10 months. …
Salesforce ExpUser's user avatar