Skip to Content

Event not triggered when changing Customer's Email

Hi,

I have created the ABSLs 'BeforeSave' and 'AfterModify' for the Customer.AddressInformation node, but when I only change and save the email address none of those events are triggered.

I realised that BeforeSave is only triggered when an address is added/created and not when is modified.

Is this a bug? Is there any reason?

Thanks,
Alejandro Cordero.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 15, 2016 at 01:04 PM

    Hi Alejandro,

    I tried the same scenario at my system and found that upon changing the Email address instead of events from "AddressInformation" node, evnts from ROOT node are triggering(AfterModify/BeforeSave).

    So please check if you can write your code at AfterModify/BeforeSave.

    Thanks

    Saurabh

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Saurabh,

      Yes, I already have my code in the ROOT node - BeforeSave and it works, but, Why AfterModify/BeforeSave are not triggered when I change the Address as I would expect?

      Thanks,
      Alejandro Cordero.

  • Dec 15, 2016 at 02:40 PM

    Hi Alejandro,

    I agree with your point but this is how the system behaves. May be someone from product development team can put some light on this.

    Thanks

    Saurabh

    Add comment
    10|10000 characters needed characters exceeded