Duplicate Check by Using DT
Duplicate Check by Using DT
Acceptance Criteria:
If the user tries to submit the form without adding any nominee records, display an error
message at the screen level: “Please add at least one nominee.”
To achieve this, we can check the length of the pagelist, if it is equal to 0, then we can
set a page level validation by using OOTB function “pxAddMessageToPage”.
Message rule:
Calling on Post-processing level on flow action.
Scenario:2
If the user enters duplicate data in any of the following fields (name, relation, date of
birth), display an error message at the screen level: “Duplicate data added.”
@Utilities.countInPageListWhen("CompareNominee",Primary.NomineeData)
@pxAddMessageToPage("DuplicateMsg",Primary)
………………………………………………………………………………………………………………………………………….
Calling this data transform, while submitting the case, that means calling on post
processing of the flow action.