Apex Triggers - 2 (Trigger Context Variables with Scenario)

แชร์
ฝัง

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

  • @natarajans1961
    @natarajans1961 5 ชั่วโมงที่ผ่านมา

    Hi bro, I have seen plenty of videos regarding trigger, but you nailed it bro, really thanks for your teaching bro.

  • @stefan4926
    @stefan4926 3 หลายเดือนก่อน +1

    Videos are on point! Keep doing the good work!!❤

    • @sfdcninjas
      @sfdcninjas  2 หลายเดือนก่อน

      Thank you so much 😁

  • @sankuramana6421
    @sankuramana6421 4 หลายเดือนก่อน

    Super neat and clean

  • @Royi8083
    @Royi8083 8 หลายเดือนก่อน +1

    Thank you bro, I've been struggling with Apex and triggers before watching your videos

    • @sfdcninjas
      @sfdcninjas  8 หลายเดือนก่อน

      Thanks ❤️

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

    Well explanation with scenarios

  • @rajeshprogram2488
    @rajeshprogram2488 5 วันที่ผ่านมา

    Hi just wanted to know do u need null check

  • @himanshudamani2998
    @himanshudamani2998 ปีที่แล้ว

    Great explanation 👍

    • @sfdcninjas
      @sfdcninjas  ปีที่แล้ว

      Glad it was helpful

  • @akshultyagii
    @akshultyagii ปีที่แล้ว

    Well Explained 👍

  • @prabhavgoel3309
    @prabhavgoel3309 ปีที่แล้ว

    Very well explained keep it up brother 👍

  • @shubhamshriwash6111
    @shubhamshriwash6111 4 หลายเดือนก่อน

    if we only have isbefore in our trigger , then i dont think we need to check for "if(!trigger.new.isempty())" ,please correct me if iam wrong..?

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

    Hi Badal,
    Is this logic also same or different because its working same as your use case
    ------
    trigger AccountTrigger on Account (before insert) {
    if (trigger.isBefore && trigger.isInsert){
    // copy Billing address fields to mailing address fields
    if (!trigger.new.isEmpty()){
    for (Account acc : Trigger.new) {
    if (acc.BillingStreet != null || acc.BillingCity != null || acc.BillingState != null || acc.BillingPostalCode != null || acc.BillingCountry != null){
    acc.ShippingStreet = acc.BillingStreet;
    acc.ShippingCity = acc.BillingCity;
    acc.ShippingState = acc.BillingState;
    acc.ShippingPostalCode = acc.BillingPostalCode;
    acc.ShippingCountry = acc.BillingCountry;
    }
    }
    }
    }
    }
    ------

  • @srisadgurusairam1688
    @srisadgurusairam1688 12 วันที่ผ่านมา

    pls upload the codes