10 Example Future Method with Test Class | Asynchronous Apex | Salesforce Development Training Video

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024
  • studysalesforce... [Find all Salesforce Video links]
    Udemy : Enroll Salesforce Admin Certification Masterclass : kadge.io/admin201
    Udemy : Enroll Salesforce PD1 Certification Masterclass : kadge.io/pd1
    Udemy : Enroll Salesforce Flow Builder Masterclass: kadge.io/flowb...
    For Online Individual or Group Training Please Email or Visit below Website.
    Email: sanjaygupta.techschool@gmail.com or
    Visit: studysalesforce...
    Connect with Sanjay Gupta:
    Linkedin: / sanjay-gupta-bb2a79bb
    Find Below: RUclips Playlist Links for Salesforce Videos
    Salesforce Administrator (Lightning Experience) Video Series
    • 01 How to create Devel...
    LWC | Lightning Web Component
    • 01 LWC | Introduction ...
    Salesforce Flow Scenarios
    • 01 Screen Flow Scenari...
    Aura Component Development
    • 01 Introduction to Lig...
    Apex Programming | Apex Test | Async Apex in Salesforce
    • 01 Introduction to Ape...
    Salesforce Interview Preparation Videos
    • What is workflow rule ...
    Flow Builder in Salesforce Lightning Video Series
    • What is Flow Builder i...
    Apex Triggers in Salesforce
    • 01 Introduction to Ape...
    Asynchronous Apex in Salesforce
    • 01 Introduction to Asy...
    Process Builder in Salesforce Lightning Video Series
    • What is process builde...
    Workflow Rule in Salesforce Video Series
    • What is workflow rule ...
    Report & Dashboard in Salesforce Video Series
    • Introduction to Report...
    Data Security in Salesforce Video Series
    • Introduction to Data S...
    Please like and subscribe to support the efforts.
    #Salesforce #lightning #development #flow #admin #salesforceadmin #salesforcetraining #learnsalesforce #interview #salesforcedeveloper #developer #sanjaygupta #sanjayguptatechschool #studysalesforce #apex #trigger #integration #lwc #aura #lightningwebcomponent

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

  • @SanjayGuptaTechSchool
    @SanjayGuptaTechSchool  2 года назад

    For Online Individual or Group Training Please Email or Visit below Website.
    Email: sanjaygupta.techschool@gmail.com or Visit: studysalesforce.com/
    Connect with Sanjay Gupta on Linkedin: www.linkedin.com/in/sanjay-gupta-bb2a79bb/
    Udemy : Enroll Salesforce Flow Builder Masterclass: kadge.io/flowbuilder
    Udemy : Enroll Salesforce Admin Certification Masterclass : kadge.io/admin201
    Udemy : Enroll Salesforce PD1 Certification Masterclass : kadge.io/pd1
    Please like and subscribe to support the efforts.

  • @neilhohmann10
    @neilhohmann10 2 года назад +1

    Thanks! Helped me write a test class for the following Trailhead: Asynchronous Apex > Use Future Methods

  • @Abhishekkumar-pi9mu
    @Abhishekkumar-pi9mu 2 года назад +1

    Awesome. Helpful Gupta Ji.!!!

  • @joshuadev3901
    @joshuadev3901 2 года назад +1

    Superb Sir, Great Session.🙏🙏

  • @CodeLikeNinja
    @CodeLikeNinja 9 месяцев назад +1

    Great tutorial! 🙌, Sir I've learned a lot from your expertise. What do you think about using child-to-parent relationships for related records instead of nested loops? It might enhance performance. Would love to hear your thoughts! Thanks for sharing your knowledge!

    • @SanjayGuptaTechSchool
      @SanjayGuptaTechSchool  9 месяцев назад +1

      You can use map instead for avoid loops. Also that will be in parent to child query case.

  • @abdulazizyalcin
    @abdulazizyalcin Год назад

    Why did you use for loop inside a for loop?

  • @ramyakotha464
    @ramyakotha464 2 года назад

    Great Session Sir. and I have a doubt like from where we will get acctIds to pass as parameter to future method. Please help me with this doubt.

  • @dinesh6449
    @dinesh6449 Год назад

    We use the same scenario that work in synchronous also right? Pls anyone tell me what is the benefit of future method in this scenario

    • @SanjayGuptaTechSchool
      @SanjayGuptaTechSchool  Год назад +2

      This is just a demo so that you can understand how to write future method. If you want to run this process asynchronously then you cAn call future method from trigger. So in that case trigger will work synchronously and future method will work asynchronously.

  • @adityanegi1856
    @adityanegi1856 2 года назад

    hello sir, can you please tell the significance of accids? why cant we simply pass the acclist parameter in the calculatecaseorigin function?

    • @SanjayGuptaTechSchool
      @SanjayGuptaTechSchool  2 года назад +5

      Because future method doesn’t accept sobject list as a parameter.

  • @KundanSingh-he1lo
    @KundanSingh-he1lo 2 года назад

    Hello sir,
    Hope you are doing great!
    Sir i have just the basic knowledge of developer part., And have not worked anywhere.., can i purchase the Salesforce pd1 course go for the certification from SaaSguru or first it required to do some work experience..can I able to understand the concept., Please help me sir.
    Appreciate for your reply.

    • @SanjayGuptaTechSchool
      @SanjayGuptaTechSchool  2 года назад +2

      Both ways it is okay but if you do or dont do the cert practical exposure is required to have real knowledge. So try to start work with an organisation.

    • @KundanSingh-he1lo
      @KundanSingh-he1lo 2 года назад

      @@SanjayGuptaTechSchool thank you for valuable suggestion sir.

  • @mahatiprasad3889
    @mahatiprasad3889 Год назад

    Hello Sir, Am getting Too Many Soql error.

  • @praveenkumar-rh2fx
    @praveenkumar-rh2fx Год назад

    what happens if we have not used the test.startTest(); and Test.stopTest();

    • @alexisoswaldoavilabravo4794
      @alexisoswaldoavilabravo4794 Год назад

      the method will be skipped

    • @mchan9424
      @mchan9424 Год назад +1

      if u do that, then in case future method takes time to run but System.assert will not wait for execution of future method to be completed, so it will execute so assertion will fail. But if u use Test.start & Stop then future method will be executed asap after that Assertion will be executed. So now logic in @future will be completed and so assertion will pass!