Validating and verifying a PIN value
has Verify Pin as a Process and Rule designer element. This element provides the functionality of validating and verifying PIN value provided by a user.
You can set the Verify Pin element in the Process or Rule designer. By using Verify Pin element, you can compare the PIN value entered in Person data with the PIN value given by the user.
Alternatively, you can validate the PIN value by using REST APIs.
To configure Verify Pin element in the Process designer
- Log in to and navigate to the Workspace tab.
- Select the application where you want to verify the PIN value.
- In the application, go to the Processes tab and click New.
- From the Process designer Palette section, select the Verify Pin element.
- Navigate to the Properties pane on the right side of the screen, and select the record definition which stores hashed field ID is saved. You can select a record definition by using one of the following methods:
- Select Record Definition—Select a record definition from the current application.
- Build Expression—Build an expression to leverage a record definition dynamically at runtime.
In the Sample Record Definition Name field, select the record definition template to store hashed field ID.
The sample record definition fields are displayed in the Expression Editor that you can use to edit or create an expression.
This option is displayed only if you select Build Expression from Record Definition Name field.
- For more information about the store hashed functionality, see Encrypting-fields.
From the Gateways section, drag and drop Exclusive gateway element.
- Select Field ID and Record ID, and click OK, as shown in the following image:
- Enter PIN which is already stored and needs verification and click OK.
- Click Save.
The following image illustrates the example of Verify Pin element and the consequent messages that are displayed if the PIN verification is successful or not: