Hi @rbiri ,
Create a workflow as below,
![ParthaSarathy_0-1697602480707.png ParthaSarathy_0-1697602480707.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/64993iEEAD5A05D7E043A5/image-size/large?v=v2&px=999)
Query:
Fetch all recipients (Filtering Condition: Primary key is not empty)
Deduplication:
Targeting dimension: Temporary schema
Identification of duplicate: [target/@email]
Duplicate Method:
Configure exactly same as below,
![ParthaSarathy_1-1697602671904.png ParthaSarathy_1-1697602671904.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/64994iED53FE4DC6D919F2/image-size/large?v=v2&px=999)
This will select the latest updated / Modified record.
Update Data:
Operation type: Update
Select 'Using Reconciliation key'
Reconcile using Email and [target/@email]
Fields to update:
In the below screenshot, instead of middle name, configure consent type from your schema
![ParthaSarathy_2-1697602889295.png ParthaSarathy_2-1697602889295.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/64995i05E53A41D62184EE/image-size/medium?v=v2&px=400)
Now all the records with same email Id have its latest Consent type.
![ParthaSarathy_0-1697637961619.png ParthaSarathy_0-1697637961619.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/65030i09519D0A2F7DCD1B/image-size/medium?v=v2&px=400)