Skip to main content

Questions tagged [continuation]

Visualforce uses a Continuation callback pattern for handling asynchronous callouts to SOAP and REST web services

-2 votes
1 answer
54 views

Is there any apex statement to find timeout used and left out of 120 seconds? I can't find any method in Limits apex class to return that. https://developer.salesforce.com/docs/atlas.en-us.apexref....
Patlatus's user avatar
  • 18.8k
2 votes
1 answer
830 views

I am trying to make a POST api callout from my LWC using Apex Continuation and followed similar code: example. I have created the respective Remote Site settings too. The error message I am getting is:...
SatyaV's user avatar
  • 1,531
0 votes
1 answer
453 views

I am trying to do a callout on a button click from my LWC comp using apex Continuations. In the debug log, I see no callout happened. But when I do the callout using setTimeout(), then its working ...
Anujit Das's user avatar
3 votes
1 answer
2k views

I'm refactoring a Visualforce page, which currently gets data from a synchronous Apex callout, so that the callout will asynchronous. The Visualforce page downloads a .csv file with customer data in ...
Matt Smith's user avatar
1 vote
1 answer
773 views

I have an apex class that is using a chained continuation concept. My class functions fine and appears to be making all of the callouts as expected. Now I am trying to write my test class for code ...
SBB's user avatar
  • 173
1 vote
1 answer
346 views

I want to orchestrate logic distributed in Salesforce and in an External system in a scalable way using Platform events. Functional requirements: User in Salesforce triggers logic (Apex, Flow,...) ...
Robert Sösemann's user avatar
0 votes
1 answer
359 views

Im wondering if anyone has figured out a way to test chained continuations? I followed the documentation for how to essentially make two asynchronous callouts in a synchronous pattern. I can test the ...
Jonathan's user avatar
0 votes
0 answers
289 views

Formerly, I built a callout using the @future(callout=true) to make asynchronous callouts. @future(callout=true) public static void exportReport(){ // create request Http http = new ...
steph's user avatar
  • 101
0 votes
1 answer
368 views

In my requirement, I have to make multiple callouts with the Lightning component's server-side page load method. So here I have created multiple HTTP request(i.e: 20) objects and bind each 3 in ...
Adarsh4sfdc's user avatar
0 votes
1 answer
471 views

public with sharing class ContinuationClass { // Action method @AuraEnabled(continuation=true cacheable=true) public static Object continuationCall() { // Create continuation. ...
Abhinay's user avatar
  • 31
0 votes
1 answer
387 views

I am using Continuation to make API calls from lightning component. And noticed that if endpoint contains Curly braces, callback method is not getting called and we get "Communication error, please ...
Shrivaths Kulkarni's user avatar
3 votes
1 answer
572 views

I am getting invalid session Id when i try to perform callout using continuation api . If i remove continuation api code and perform a normal callout the the same code is working. Below is the code @...
user76603's user avatar
-1 votes
1 answer
295 views

I have been asked a question in continuous integration. First let me give some background. In continuous integration api call we can call 3 webservice urls at a time and process response in another ...
Deepak Agarwal's user avatar
0 votes
1 answer
448 views

private class StateInfo { Account acc {get; set;} StateInfo(Account acc){ this.acc = acc; } Contact cont {get; set;} StateInfo(Account acc, ...
user905's user avatar
  • 261
2 votes
1 answer
1k views

I`m trying to execute Continuation from LWC action. The thing is that I use it for SOAP API. It is a long-time running request, but I have to show a loading spinner until the response will be ...
m_konyk's user avatar
  • 575

15 30 50 per page