Scenario Overview

In this scenario our business requirement is that when an accounts address is updated you need to update all the related contact addresses with the same data. The scenario involves the synchronization of fields between entities where a one to many (1:N) relationship exists.

N52 Formula Manager Solution

The Formula Manager solution works like this,

  • We create a formula that fires for just updates on the account entity where any of the address1 fields change
  • The formula itself retrieves all the contacts associated via the parentcustomerid field on the contact entity
  • It will then loop over all the contacts and update the address information with that of account entity                   

N52 Formula Manager Steps

The following set of steps assumes you are just using the out of the box Dynamics CRM setup. But its easy to enhance if you have extra fields \ requirements.

  • Create a new formula of type 'Save - Perform Action'
  • Set the Event field to just 'Update'
  • Set the Source Entity to 'Account'
  • Set the Source Entity Property (hold down control key to multi-select) to address1_line1, address1_line2, address1_line3, address1_city, address1_postalcode, address1_country 
  • Copy & paste the formula below into the formula description field & click save
  • You are ready to test



   FindRecords('contact', 'parentcustomerid', [account.accountid], 'contactid'), 

                          SetAttribute('address1_line1', [account.address1_line1]),
                          SetAttribute('address1_line2', [account.address1_line2]),
                          SetAttribute('address1_line3', [account.address1_line3]),
                          SetAttribute('address1_city', [account.address1_city]),
                          SetAttribute('address1_postalcode', [account.address1_postalcode]),
                          SetAttribute('address1_country', [account.address1_country])


Wizard - FindRecords

Please see below the wizard you can use to create the FindRecords() function call used in this formula. 

Note for the Equals Value , you will need to look up the account under the Source tab

Did you know?

It is Faster, Easier and Smarter using North52

We help you deliver Dynamics 365 projects with complex decision logic/business rules:


Our no code business rules engine helps deliver CRM/CDS projects up to 10 times faster than using custom code.


Simple to use point-and-click interface to build simple or complex business rules.


Lower your project risk and slash ongoing maintenance costs.

Learn more about the North52 Decision Suite