Skip to main content
Murali Matta (Meritage Homes) ha fatto una domanda in #Apex
Example: When we click on Save button (assuming exception has occured) it throws an Exception 'Trigger has been failed due to after insert'

Are this Exceptions are stored in Standard objects in Salesforce? If Stored in which object are they stored
1 risposta
  1. 28 set 2018, 20:29
    No .. Salesforce wnt store any Exceptions in salesforce other than Duplicate rules or matching rules or Batch Platform Events 

    If you want to store you need to log into the custome exception object 

     

    try{

    }catch(Exception e){

    Log__c lo = new Log__c() ;

    // Add other exception related

    insert lo ;

    }

     
0/9000