Hello Emad,

In OOTB flow, after creating a customer, the system calls
sendCreatePartyEmailNotification service asynchronously. This service is
called to send an email notification to the customer about account
creation. This causes the creation of a record in CommunicationEvent table.

I feel that sending email should be configurable but an initial cursory
look at the codebase doesn't guarantee about it. Also, one thing to notice
is that the CommunicationEvent created has a record with partyIdFrom as
FrenchCustomer which is completely wrong as it should be a company party.
The logic in createCommEventFromEmail (line no. 776) to find out "fromCm"
is what causing this problem. Any pointers from other community members to
this will help.

Kind Regards,
--
Pritam Kute


On Sun, Jan 17, 2021 at 1:34 AM Emad Radwan <eradwan1...@gmail.com> wrote:

> Hi Community,
>
> Does any one know if while creating a new Customer a new related record
> would be created in 'Communication_Event table? I just need to know the
> default behaviour specially on production setup.
>
> Regards,
>
> Emad
>

Reply via email to