• Abhinav Kumar Mishra
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Dear All, 

I am trying to use continuation class to make multiple callouts in same trans. I have to use named-credential for Authentication but when i set the Endpoint URL (callout://Named_Credential/<path> )in httprequestbody and hit the continuation.addhttprequest i am not getting my call back method called.. please guide , is there any work around for this, i am not willing to remove the named credential part. 

Code like below i am doing :
HttpRequest req1 = new HttpRequest();
req1.setMethod('GET');
req1.setEndpoint(endPoint);
Continuation con = new Continuation(40); con.continuationMethod='processResponse';
 con.addHttpRequest(req1);
system.debug('Action Mehtod con ---'+ con);
return con;

this is not loading my call back method "processResponse" . 

Thanks in Advance !!

Abhinav 
I am get this error: "Challenge Not yet complete... here's what's wrong: 
The 'Opp Stage by Adventure' report does not appear to be configured correctly. Make sure it has the correct report type, groupings, filters and chart type".

I believe i configured the report according to the instructions but it is still showing and error. Any assistance or insight would be apreciated.