• VJay
  • NEWBIE
  • -3 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 12
    Questions
  • 5
    Replies
Getting alert like "caused by: System.DmlException: Update failed. First exception on row 0 with id 0011r00002K8lkuAAB; first error: UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record or 1 records: 0011r005556K8lkuDFDF: []
" due to below query in Handler class.

acctList = [SELECT Id,Credit_Blocked_Salesforce__c,Total_SFDC_Blocked_New__c,(Select Id, Amount, Converted_Amount_USD__c, StageName, Account.ParentId from Opportunities),ParentId,Parent.Total_SFDC_Blocked_New__c FROM Account WHERE Id IN: acctIdOpptyListMap.keySet()];

Could you please suggest the way, how we can optimize this query?
  • May 12, 2021
  • Like
  • 0
Getting error in salesforce. Could you please help here. 

Apex script unhandled trigger exception by user/organization: ********000009**/****000000***

OpportunityTrigger: execution of AfterUpdate

caused by: System.AsyncException: Rate Limiting Exception : AsyncApexExecutions Limit exceeded.

()
 
  • May 11, 2021
  • Like
  • 0
Which three declarative fields are correctly mapped to variable types in Apex?

Choose 3 answers.

A. Checkbox maps to Boolean
B. Number maps to Integer
C. Date/Time maps to Datetime
D. TextArea maps to List of type String
E. Number maps to Decimal
 
  • August 07, 2018
  • Like
  • 1
I am trying to solve challange in bulktrigger and getting error like: 
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: CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be saved because it failed to trigger a flow. A flow trigger failed to execute the flow with version ID 30128000000FSzm. Flow error messages: An unhandled fault has occurred in this flow
An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information. Contact your administrator for help.: []

 
  • May 17, 2018
  • Like
  • 0
Which three declarative fields are correctly mapped to variable types in Apex?

Choose 3 answers.

A. Checkbox maps to Boolean
B. Number maps to Integer
C. Date/Time maps to Datetime
D. TextArea maps to List of type String
E. Number maps to Decimal
 
  • August 07, 2018
  • Like
  • 1
Can anyone please explain this statement :
global class ContactBatch implements Database.Batchable<sObject>{
}

As far as I know Database is a class in apex and batchable is an interface, So why can't we write as: 
global class ContactBatch implements Batchable{
}

Also, explain the syntax for <sObject> here
I am trying to solve challange in bulktrigger and getting error like: 
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: CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be saved because it failed to trigger a flow. A flow trigger failed to execute the flow with version ID 30128000000FSzm. Flow error messages: An unhandled fault has occurred in this flow
An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information. Contact your administrator for help.: []

 
  • May 17, 2018
  • Like
  • 0
Hi All
can you please share interview questions and different senarios which ask for experienced sfdc developers