b2c-crm-sync
b2c-crm-sync copied to clipboard
Update Person Account triggering multiple times
Is your feature request related to a problem? Please describe. Triggers and flows run multiple times when a person account is updated, this is happening in a production environment with the connector syncing between Commerce and Service. Is it possible to change this behavior with an active connector?
Describe the solution you'd like They should run only once.
Describe alternatives you've considered None.
Hello @filipecarvalho15,
Thank you for posting this issue. Can you please provide more details?
- What are the steps to reproduce the issue. Does it occur when updating the profile from core to b2c, or b2c to core, or both?
- Are all the fields changes triggering the same behavior?
- Do you have some logs related to these flows' execution?
Thanks in advance
Hi @jbachelet, i created a flow that makes a http callout(future) whenever a Person Account is updated in Service Cloud either saving directly or updating it from the storefront(this affects the number of times it may run), when I update a record I think the Connector flow B2C Commerce: Platform Event: Process Contact Update is doing DML updates to the Record Type that make my callout run multiple times.
The test i made was deactivating the Process Contact Update flow and doing an update(any field) and then my callout runs fine and only once.
Thank you