on 04-09-2023 5:30 PM
Hi Team,
I need help.
Problem Statement:
I need to trigger the CDC Account deletion email for the Registered user, But account deletion email should not trigger while we delete Lite registred account.
Currently Account deletion email is triggering in both Lite account deletion and full registered account deletion.
Thanks in advance
Hi Eldhos,
Taking into account my observations, I don't see any OOTB option in CDC to split that logic separately for Fully registered and Lite registered accounts.
In Policies we have only Account deletion confirmation(sendAccountDeletedEmail) config flag.
In accounts.deleteAccount or accounts.deleteLiteAccount parameters we also cannot find anything that could help us to manage this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again, Eldhos. One workaround came to my mind how you can manage this case, if you really need keep this requirement(I put it here in comments, but it is a part of the answer).
As I remember you follow this implementation:
Parent site group Brand
Child site Brand A
Child site Brand B
Proposal: add one more child site.
Parent site group Brand
Child site Brand A
Child site Brand B
Child site Deletion configuration
It will be only one difference for Deletion configuration site: Select Override parent settings and unselect Account deletion confirmation settings.
Customers share between sites as they are in the same parent group.
It gives you a capability to delete any of customers from each of sites.
So, before to delete customer you need to check:
1) If it is Fully registered - delete customer using Parent site group Brand API Key.
2) If it is Lite registered - delete customer using Child site Deletion configuration API Key.
In first case deletion email will be send for deletion of Full Account.
In second case deletion email will not be send for deletion of Lite Account.
Logic and implementation may be different for deletion, but the main point of configurations similar like highlighted above.
Hope it helped you.
Another option would be to set up your own email sender implementation listening to account deletions via webhooks.
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.