Welcome to the community
Follow the steps
- Create a new table dt3 and then use dt1.clone() in an assign activity
- Loop through dt2
- Inside loop use a filter datatable and filter dt1 on the
currentrow("service number").tostring… and get to filterdt - Use a merge dstatable to merge filterd rows filterdt to dt3
At the end of loop dt3 will have only the matching rows
Cheers