Apex Exception Handling with Platform Event

Поділитися
Вставка
  • Опубліковано 6 жов 2024

КОМЕНТАРІ • 27

  • @apexhours
    @apexhours  4 роки тому +2

    Check this post for code www.apexhours.com/exception-handling-using-platform-events/

  • @hamarecutefunnykids2418
    @hamarecutefunnykids2418 4 роки тому +2

    Thanks for sharing knowledge. Very informative session.

    • @apexhours
      @apexhours  4 роки тому +1

      Glad it was helpful! Keep watching

  • @ramakanthsai6312
    @ramakanthsai6312 4 роки тому +2

    awesome thanks for your efforts

    • @apexhours
      @apexhours  4 роки тому

      Our pleasure! Keep watching. Please share recording with your friends

  • @SajinaThereseP
    @SajinaThereseP Місяць тому

    Can we perfom similar logic for Logging the other levels of type Info, Warning etc ?

  • @pujarathi816
    @pujarathi816 3 роки тому +2

    Awesome session Meera 😊

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

    Great session, since the User is not obstructed with an ERROR but the Exception are logged, what is the proper method to inform the User of the failure?

  • @chethelesser
    @chethelesser 2 роки тому

    You can get a feeling of what quality an architect is when they say something like "second parameter, or variable in the list"

  • @arindam-karmakar
    @arindam-karmakar 3 роки тому

    Thanks to Apex Hours and Meera for this wonderful session. The video is very informative and full of demos related to real word scenarios. Is there any way we can get the ppt? That will be very helpful. Thanks again.

    • @apexhours
      @apexhours  3 роки тому +1

      check apexhours.com site

  • @SajinaThereseP
    @SajinaThereseP Місяць тому

    Can we log using platform events of type INFO, Warning etc?

  • @omkardeokar
    @omkardeokar 4 роки тому +1

    Can we not achieve partial transaction using database.insert? @apexhours

    • @omkardeokar
      @omkardeokar 4 роки тому +1

      Ok i get it now, its the 2nd scenario where platform events are really helpful to come around savepoint business logic

    • @apexhours
      @apexhours  4 роки тому +1

      Let us know if you still more details

    • @70samirkhan
      @70samirkhan 4 роки тому

      I think that there is a correction. We can throw standard built in exceptions. Please correct me if my understanding is wrong
      //Sample code
      CalloutException e = new CalloutException(); e.setMessage('This is a constructed exception!');
      throw e;

    • @omkardeokar
      @omkardeokar 4 роки тому +1

      @samir khan yes we can throw standard exception, but point is to log the exception in a custom object, so that we can view the database entry later.
      So we create a separate object.
      Major issue comes when the it is a dml exception, your business logic (like other insert update) are usually allOrNone so when that fail, your exception logs dml also fails.

    • @meeranair1539
      @meeranair1539 4 роки тому +2

      @@70samirkhan yes,you are correct. We can trow standard exceptions. I created a generic custom Exception for throwing all kind of exception with a custom message which can be even accessed from flows.

  • @sagefashions83
    @sagefashions83 3 роки тому +1

    Hello Can any one help providing guide for rollback in salesforce

  • @sreenathreddy9389
    @sreenathreddy9389 4 роки тому +1

    Hi
    Could you please tell best source for Salesforce vlocity

    • @apexhours
      @apexhours  4 роки тому

      Only Vlocity University. Its a closed program no public content is available

    • @sreenathreddy9389
      @sreenathreddy9389 4 роки тому +1

      @@apexhours thanks

    • @apexhours
      @apexhours  4 роки тому

      Keep watching and share with your friends