Skip to main content

Questions tagged [queueable-apex]

1 vote
2 answers
56 views

I’m hitting the daily limit of 250,000 asynchronous callouts (via @future methods) during a large data migration. Since our org is integrated with multiple third-party systems that only support single-...
Abhishek Yadav'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
0 answers
73 views

I've encountered a user context issue that I'm trying to debug. The process is designed to switch from a community user to a Special User to handle backend processing, but at a certain point, the ...
nica's user avatar
  • 1,402
1 vote
0 answers
88 views

I'm rereading Dan Appleman's book "Advanced Apex Programming in Salesforce", and I stumbled on the following statement in the chapter about asynchronous processing: Queueable Apex code ...
zanstaszek9's user avatar
2 votes
0 answers
92 views

I have a trigger QuoteTrigger with a trigger handler. In the after update context, I collect a list of quotes (renewalQuotesToProcess) that meet a specific condition, and after the loop I call a ...
Shashwat Chaturvedi's user avatar
0 votes
3 answers
242 views

I have a custom object, Issue__c, with a Status__c field. I want to run a batch job every day at a specific time that retrieves the status from an external system and updates the Salesforce record. ...
bnthsrikanth's user avatar
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
2 votes
1 answer
216 views

I have the below code sample which is calling multiple callouts from queueable execute method. Is it ok if I'm using below approach? Process: after bulk insert of account records, I'm collecting all ...
Athira Venugopal's user avatar
0 votes
1 answer
155 views

I'm in rather desperate need of some advice in regards to testing chained asynchronous methods. However I write the test I can't seem to escape the 'Maximum stack depth' error. Any advice would be ...
Zac's user avatar
  • 1
0 votes
2 answers
2k views

I understand that the flex queue allows for a maximum of 100 batchable jobs at a time. Is there a similar limit for Queueable jobs? I’m aware of the global asynchronous limit of 250,000 jobs (or the ...
KarlLivesey's user avatar
1 vote
0 answers
351 views

I have a (1) Flow that calls an (2) Invocable Apex which calls a (3) Queueable class, and that class passes data to an (4) Integration Procedure. The IP does stuff with the data, and I can't not use ...
ash's user avatar
  • 11
2 votes
1 answer
175 views

This Set the Maximum Depth of Chained Queueable Jobs (Generally Available) is GA and documented to work in: Where: This change applies to Lightning Experience and Salesforce Classic in Enterprise, ...
Keith C's user avatar
  • 138k
2 votes
1 answer
1k views

The System.enqueueJob allows a minimum delay (0–10 minutes) to be specified before the Queueable will execute: Integer delayInMinutes = 1; ID jobId = System.enqueueJob(new MyQueueableClass(), ...
Keith C's user avatar
  • 138k
0 votes
1 answer
45 views

I am trying to create a trigger that will fetch info from DB and populate fields in SF. Problem is that I need to fetch first basic info and then with this info do another API call to fetch the rest. ...
Tom Raketak's user avatar
0 votes
0 answers
90 views

I have queuable class which has a function to send out mails via sendgrid using REST API. I have created invocable apex action which is getting called from flow and is calling that queuable class ...
Bhavesh Tilvani's user avatar

15 30 50 per page
1
2 3 4 5
13