Salesforce Batch Apex Interview Questions

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 18

  • @Vlogswithved
    @Vlogswithved 2 місяці тому

    ❤❤❤lovely

  • @SathishKumar-ok6tu
    @SathishKumar-ok6tu 10 місяців тому +1

    Awesome Video. You have covered pretty much everything.

  • @prashantrohankar2000
    @prashantrohankar2000 10 місяців тому +2

    Thank you for sharing! 😊

    • @sfdcninjas
      @sfdcninjas  10 місяців тому

      Thanks for watching

  • @SalesforceTeacher
    @SalesforceTeacher 10 місяців тому +1

    amazing content, best regards from latam

  • @arunimakashyap6207
    @arunimakashyap6207 10 місяців тому +1

    Clear explanation. Thanks

  • @goldylodhi2116
    @goldylodhi2116 10 місяців тому +1

    Sir which software u use to edit your videos... Btw nice explanation

  • @kashishbansal3024
    @kashishbansal3024 10 місяців тому +1

    Hello SFDC Ninja,
    I have one doubt if we are using static variables then with the use of a Database.Stateful, the variable also gets reset or it will maintain its state.

  • @pradeepkumars975
    @pradeepkumars975 10 місяців тому

    Hello Sfdc ninja, Here is another interview question on trigger from Salesforce company :
    Write a trigger to compare values between same fields in Opportunity object but fields can be modified in future. For example : you are comparing Amount, Stage in trigger but later some time those comparable fields will be changed. So how to achieve this to dynamically compare fields in Opportunity trigger?

    • @hekkelkelseheklalallkh8161
      @hekkelkelseheklalallkh8161 10 місяців тому +1

      Hello, I can't understand the requirement properly, Can you help me with that. What should we do by comparing the values, should we throw an error. Also should we be comparing the same of different fields, like compare old Amount with new Amount and Old stage with new stage.

  • @explore-everything-withme
    @explore-everything-withme 7 місяців тому

    Thank you for your video.
    I have a question , it is mentioned that we can process max 200 records at a time in execute method.
    Then how we are calculating how many times the execute method will be executed to process the 1236 records by specifying batch size as 400.
    Anyone please clear this doubt.

    • @pravallika-j5d
      @pravallika-j5d 7 місяців тому

      it will 1200/400 = 3 + 1(for remaining 36 Records), total=4 times

    • @anirudh867
      @anirudh867 7 місяців тому

      Divide 1236/400 = 3 batches each of around 400 records

    • @pravallika-j5d
      @pravallika-j5d 7 місяців тому +1

      200 is the default batch size, it applies when we dont mention batch size, minmum is 1 and maximum is 2000

  • @shivanandtotar4357
    @shivanandtotar4357 6 місяців тому

    good information

  • @namanshetty2781
    @namanshetty2781 6 місяців тому

    What's the difference between : database.getQuerylocator and datatable.querylocator.
    Because in Salesforce documentation the governor limit for records retrieved by database.getquerylocator is 10 thousand but you told it's 50 million. Wanted clarity for it

  • @samarthasahoo7374
    @samarthasahoo7374 10 місяців тому

    Hello SFDC NINJA,
    Hope you are doing well.
    Your videos were very informative and helpful.
    Thanks for creating such content.
    I have a doubt .Please clarify .
    I have 10000 records and in a batch of 3000 I am using the batch apex. Can you tell me how many times the start(),execute(),finish() method will work?
    Waiting for your input......

  • @jagrutibhoir2886
    @jagrutibhoir2886 8 місяців тому

    can i get this questions in document