Skip to main content

Questions tagged [scheduled-apex]

Issues with writing, running, or testing scheduled Apex code, using the Schedulable interface.

0 votes
0 answers
29 views

Recently, we were doing some deletion of scheduled jobs in our lower environment, unfortuantely now all the scheduled jobs are deleted. We have restored all manual scheduled jobs butscheduled jobs of ...
zeeshan ahmad's user avatar
0 votes
1 answer
46 views

I have a scheduled apex class that calls a queueable. This runs daily to retrieve data from an external API, transforms the data, and upserts sObjects. Some of that data transformation relies on ...
Diego's user avatar
  • 575
1 vote
1 answer
99 views

I'm trying to deploy an apex class using vs code. The test is just testing the following schedule method: global without sharing class cbl_OfferDeactvationScheduler implements Schedulable { public ...
Bika's user avatar
  • 73
0 votes
0 answers
50 views

I am publishing the platform event in one salesforce org to another org though HTTP callout. The target org is listening to the event for the first record. i.e. If the source org publish 5 records, ...
indrasen neelam's user avatar
0 votes
0 answers
30 views

How do I test a class that aborts scheduled apex jobs? public class ScheduledJobCleanup implements Schedulable{ public void execute(SchedulableContext SC) { for(AsyncApexJob job : [SELECT ...
Zac's user avatar
  • 1
0 votes
0 answers
39 views

I'm trying to create a Test class for a Scheduled Class that calls a Queueable Class But, it gives me a System.AsyncException: Maximum stack depth has been reached. error in the test class. Queueable ...
Yassine El Moustachir's user avatar
1 vote
1 answer
118 views

Within in our SF organization, I need to send API calls to another platform when certain records are updated in Salesforce. I've successfully created triggers and apex classes (utilizing @future) to ...
IanLock's user avatar
  • 21
-2 votes
1 answer
132 views

I'm exploring the options for scheduling tasks within Salesforce, and I'm particularly interested in understanding the benefits of utilizing Apex for scheduling compared to using the built-in UI ...
Rahul Allada's user avatar

15 30 50 per page
1
2 3 4 5
62