Salesforce Batch Apex Interview Questions

Поделиться
HTML-код
  • Опубликовано: 1 авг 2024
  • НаукаНаука

Комментарии • 16

  • @shivanandtotar4357
    @shivanandtotar4357 9 дней назад

    good information

  • @SathishKumar-ok6tu
    @SathishKumar-ok6tu 4 месяца назад

    Awesome Video. You have covered pretty much everything.

  • @arunimakashyap6207
    @arunimakashyap6207 4 месяца назад

    Clear explanation. Thanks

  • @SalesforceTeacher
    @SalesforceTeacher 4 месяца назад +1

    amazing content, best regards from latam

  • @prashantrohankar2000
    @prashantrohankar2000 4 месяца назад +2

    Thank you for sharing! 😊

  • @kashishbansal3024
    @kashishbansal3024 4 месяца назад

    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.

  • @goldylodhi2116
    @goldylodhi2116 4 месяца назад +1

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

  • @jagrutibhoir2886
    @jagrutibhoir2886 2 месяца назад

    can i get this questions in document

  • @samarthasahoo7374
    @samarthasahoo7374 4 месяца назад

    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......

  • @explore-everything-withme
    @explore-everything-withme Месяц назад

    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 29 дней назад

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

    • @anirudh867
      @anirudh867 29 дней назад

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

    • @pravallika-j5d
      @pravallika-j5d 29 дней назад

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

  • @pradeepkumars975
    @pradeepkumars975 4 месяца назад

    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 4 месяца назад

      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.