Start a new topic
Answered

How to Warn if a Duplicate Record is being created

When we need to check if the record  being created is already present in the Database and send a Warning if it is the case.is it possible?


Best Answer

When we need to check if the record  being created is already present in the Database and send a Warning if it is the case.

If the entity is of type Basic or ID-Matched we can use Detect-Dups to check the duplicate records

Basic and ID-matched entities do not support fuzzy matching in the certification process.
However, you still can define matchers for these entities. Such matchers are used only to detect duplicates at record creation time. When a user creates a new record, and the DETECT_DUPS validation is active, the matcher is used to search for similar records in order to warn the user when a new entry matches existing records.


To achieve this 

we need to follow a two step process 

1) create a “SemQLMatcher - ” named “NewRule” with a Match Condition of “Record1.TopNickname  = Record2.TopNickname ”  



2) Create a Stepper like “AuthorNicknames” and under Validations for Entity Name “NickName” and Validation Type “DETECT_DUPS” choose Warn or Block as you need. 

When you include the detect_dups in stepper and set as warn,it will show the message as below 

1 Comment

Answer

When we need to check if the record  being created is already present in the Database and send a Warning if it is the case.

If the entity is of type Basic or ID-Matched we can use Detect-Dups to check the duplicate records

Basic and ID-matched entities do not support fuzzy matching in the certification process.
However, you still can define matchers for these entities. Such matchers are used only to detect duplicates at record creation time. When a user creates a new record, and the DETECT_DUPS validation is active, the matcher is used to search for similar records in order to warn the user when a new entry matches existing records.


To achieve this 

we need to follow a two step process 

1) create a “SemQLMatcher - ” named “NewRule” with a Match Condition of “Record1.TopNickname  = Record2.TopNickname ”  



2) Create a Stepper like “AuthorNicknames” and under Validations for Entity Name “NickName” and Validation Type “DETECT_DUPS” choose Warn or Block as you need. 

When you include the detect_dups in stepper and set as warn,it will show the message as below 

Login to post a comment