• wasim akram 42
  • NEWBIE
  • 0 Points
  • Member since 2019
  • WTechni
  • WTechni.com

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 0
    Questions
  • 4
    Replies
I am in the Prioritize Leads with Einstein Lead Scoring project in Trailhead, trying to sign up for a Developer Edition org following these instructions (Step 1 takes you here (https://developer.salesforce.com/promotions/orgs/einsteinleadscoring)):

Instructions to sign up for a Developer Edition with Einstein Lead Scoring

Everything goes fine through Step 4, where I receive the e-mail, but when I click on the Verify Account link, I'm expecting it to take me to a page where I can set the password and enter a security answer, but instead it takes me to a login page (at login.salesforce.com) asking for a username and password, and it shows this error message even though I haven't tried to log in yet - Please check your username and password.  If you still can't log in, contact your Salesforce administrator.

Login page with error message


I can log in using my Salesforce production credentials, but it doesn't do anything.  I can't log in with the Username I signed up for a DE with (my-name@honeydew.com) because I haven't set my password yet.  I tried clicking on Forgot Your Password?, and received the e-mail with the link, but when I click on the link to reset my password, it asks for my favorite pet, which is a security answer I have not yet defined.

I have other training projects coming up with similar Create DE requirements, like signing up for an Einstein Prediction Builder Trailhead Playground, so I'd like to know how to successfully create and be able to log into a Developer Edition org.

What do I need to do?
can anyone give me apex trigger examples for better understanding of the apex trigger 
  • February 23, 2020
  • Like
  • 1

 
Hi all,

We need to implement the following pattern at my org:
  • callout to external data source
  • if that callout takes too long (according to some configurable threshold), log an error (ie do some DML)
  • if that callout timed out on the remote server, try it again
Recognizing the potential for the dreaded "You have uncommitted work pending. Please commit or rollback before calling out." error, I put the error logging code in a future method, thus isolating the DML from the callouts. However, the error is still being thrown. I reduced the issue down to this pattern:
public static void foo() {
    Http http = new Http();
    HttpRequest req = new Httprequest();
    req.setEndpoint('https://test.salesforce.com'); //whatever endpoint
    req.setMethod('GET');
    http.send(req); //works fine
    bar();
    http.send(req); //throws calloutexception
}

@future public static void bar() {

}
Am I correct to assume that calling a future method counts as a DML operation? Is there any documentation I'm missing somewhere?

 
can anyone give me apex trigger examples for better understanding of the apex trigger 
  • February 23, 2020
  • Like
  • 1