• Srujana Reddy
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies
How to Update the Case status to Closed using trigger When ClosedDate is Today.
can any one help me.
Thanks in advance
 
Hi All,
i have used (Today()- Account.LastActivityDate) formula but got below error please..help me out
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: [Date_Time_Closed__c]: [Date_Time_Closed__c]
How to Update the Case status to Closed using trigger When ClosedDate is Today.
can any one help me.
Thanks in advance
 
On this one, I have this as my code which I'm pretty sure is correct. But I'm lost because its stating that there are no contacts or leads with that last name. How exactly do I add these?

public class ContactAndLeadSearch{
    public static List<List< SObject>> searchContactsAndLeads(String first)
    {
         List<List<sObject>> searchList=[FIND 'Smith' IN ALL FIELDS RETURNING Lead(FirstName,LastName),Contact(FirstName,LastName)];
            return searchList;
     }
}


Thanks,

Trevor
Hi All,
i have used (Today()- Account.LastActivityDate) formula but got below error please..help me out
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: [Date_Time_Closed__c]: [Date_Time_Closed__c]