A new knowledge base article has been published on our support portal.
In this scenario our business requirement is that when an Account’s address is updated you need to update all the related Contact addresses with the same data. However, we also have a validation rule on updating contact records that may throw an error. To circumvent this, we use the SmartFlowExceptionGuard function.
North52 BPA Solution
The North52 BPA solution works like this:
- We create a formula that triggers whenever any of the address 1 fields change on an Account entity
- The formula finds all the Contacts associated to the Account
- It will then loop over all the Contacts and update their address information with that of Account entity
- If for some reason an error occurs while updating these addresses, we will instead update the description field of the Contact to inform the User the address sync failed for that particular record