Hello vaishnavi,
there are two way
First way
for example you have two field surname and name
while saving data drag list filter and give the resource as your aggregate(fetch from database of entity where data is storing )
on list filter you will give source and condition as (entity.name=name(input widget)) and (entity.surname=surname(input_widget)))
drag if after list filter in that check list filter is empty or not if empty create data if not empty there is same data is present already
second way and efficient way create index of first name and last name
Index is not give permission to create duplicate
https://success.outsystems.com/Documentation/11/Developing_an_Application/Use_Data/Data_Modeling/Create_an_Entity_Index#:~:text=In%20OutSystems%2C%20you%20can%20model,and%20create%20a%20new%20index.
check the documentation for reference
Thanks and Regards,
akshay Deshpande