Apex Exception Handling with Platform Event

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2020
  • Apex Exception Handling with Platform Event.
    Platform Events for Apex Exceptions
    salesforce platform events error handling
    Blog post www.apexhours.com/exception-h...

ความคิดเห็น • 24

  • @apexhours
    @apexhours  3 ปีที่แล้ว +2

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

  • @hamarecutefunnykids2418
    @hamarecutefunnykids2418 3 ปีที่แล้ว +2

    Thanks for sharing knowledge. Very informative session.

    • @apexhours
      @apexhours  3 ปีที่แล้ว +1

      Glad it was helpful! Keep watching

  • @ramakanthsai6312
    @ramakanthsai6312 3 ปีที่แล้ว +2

    awesome thanks for your efforts

    • @apexhours
      @apexhours  3 ปีที่แล้ว

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

  • @pujarathi816
    @pujarathi816 3 ปีที่แล้ว +2

    Awesome session Meera 😊

    • @apexhours
      @apexhours  3 ปีที่แล้ว

      Thank you 🙂

  • @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"

  • @darrellgallegos6997
    @darrellgallegos6997 7 หลายเดือนก่อน

    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?

  • @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

  • @sagefashions83
    @sagefashions83 3 ปีที่แล้ว +1

    Hello Can any one help providing guide for rollback in salesforce

    • @apexhours
      @apexhours  3 ปีที่แล้ว +1

      We will post soon

  • @omkardeokar
    @omkardeokar 3 ปีที่แล้ว +1

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

    • @omkardeokar
      @omkardeokar 3 ปีที่แล้ว +1

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

    • @apexhours
      @apexhours  3 ปีที่แล้ว +1

      Let us know if you still more details

    • @70samirkhan
      @70samirkhan 3 ปีที่แล้ว

      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 3 ปีที่แล้ว +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 3 ปีที่แล้ว +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.

  • @sreenathreddy9389
    @sreenathreddy9389 3 ปีที่แล้ว +1

    Hi
    Could you please tell best source for Salesforce vlocity

    • @apexhours
      @apexhours  3 ปีที่แล้ว

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

    • @sreenathreddy9389
      @sreenathreddy9389 3 ปีที่แล้ว +1

      @@apexhours thanks

    • @apexhours
      @apexhours  3 ปีที่แล้ว

      Keep watching and share with your friends