Skip to main content
Tim Schuch a posé une question dans #Trailhead
I have set up the formula field "Days Since Last Update" but when I check the challenge, I receive the following error:

Challenge Not yet complete... here's what's wrong: 

There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Demo__AccountID__c]: [Demo__AccountID__c]

Any insights would be appreciated!

 
1 réponse
  1. 10 déc. 2015, 04:25
    Two issue i found in your case

    1) it look like you enabel the name space "demo" in your org. If yes then that will better if you can create new developer account and use same

    2) And you are using custom field Account.

    your formula should be like below in case object.

    (Today()- Account.LastActivityDate)

    Please check below post for screen shot

    https://developer.salesforce.com/forums/?id=906F0000000BSUKIA4

    https://developer.salesforce.com/forums/?id=906F0000000BQwUIAW

    Please let us know if this will help you.

    Thanks

    Amit Chaudhary
0/9000