I am attempting to update a secondary list after the primary list is updated using Flow. From time to time my projects (in the primary list) change agents and I need to update all permits with the new agents email address in the secondary list for that project number. The project list form is used to update the project data in SharePoint.
I have 2 lists. The first is the primary list called "Projects" , the secondary list is called "Permits".
Both the primary and secondary lists have several fields that are different however they include two that are the same, projectnumber & agentemail
The primary list has the field projectnumber as a unique value in SharePoint. The agentemail field only contains one email address.
The secondary list has multiple entries with the same projectnumber with the associated agentemail listed from the primary list.
As stated earlier, my goal is to update all matching projectnumber and agentemail entries in the secondary list that match the primary list when the primary list is modified.
Primary List (Before):

Secondary List (Before):

Secondary List Final Result (After primary list is updated with Wilma on project # 123, joe is no longer listed on the Permits - Flow):
