Hi @vani97 I guess you can achieve this through nested JavaScript using loop. You can select the records from the temp table, store them in an array object in JSON having email and PKid, now taking a single record iterate it to find the duplicates and keep recording the duplicates ID, after iterati...