New answers tagged schedulebatch
-2
votes
Accepted
Batch Apex to add 10 Days to Closed date and then Automatically Change the Stage Name to CLOSED WON/LOST after 10 days
I have updated your code. I have just added the WHERE CloseDate < N_DAYS_AGO:10' in the query which is filtered the data which is processed into the batch.
Here is the full code:
public class ...
1
vote
Accepted
Org Migration - Behaviour of batch jobs during downtime
Ongoing activities will be paused prior to the instance refresh and resumed following the instance refresh. Activities scheduled during the instance refresh will start following the completion of the ...
Top 50 recent answers are included
Related Tags
schedulebatch × 478apex × 299
batch × 251
scheduled-apex × 173
unit-test × 39
scheduled-job × 37
trigger × 28
soql × 23
callout × 21
governorlimits × 15
code-coverage × 14
cron × 11
future × 10
class × 9
scheduled × 9
visualforce × 8
asynchronous × 8
email × 7
query × 7
failing-tests × 6
schedule × 6
rest-api × 5
singleemailmessage × 5
api × 4
process-builder × 4