Validating and verifying a PIN value


BMC Helix Innovation Studio has Verify Pin as a Process and Rule designer element. This element provides the functionality of validating and verifying the 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

  1. Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
  2. Select the application where you want to verify the PIN value.
  3. In the application, go to the Processes tab and click New.
  4. From the Process designer Palette section, select the Verify Pin element.
  5. Navigate to the Properties pane on the right side of the screen, and select the record definition, which stores the hashed field ID saved 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.
  6. 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. 

    For more information about the Store Hashed functionality, see Encrypting-fields

  7. From the Gateways section, drag and drop the Exclusive gateway element.

    Important

    Define a Boolean expression for the Exclusive gateway using Verify Pin output value. 
    For example, if the PIN values match, set the output as 1 (True), and if the values do not match, set the output as 0 (False).

    Verify Pin element returns a Boolean value, which can be used with an exclusive gateway to attain the expected goal.

  8. Select Field ID and Record ID, and click OK, as shown in the following image:
    22_1_expression for condition.jpg
  1. Enter the PIN value, which is already stored and needs verification, and click OK.
  2. Click Save.

The following image illustrates the Verify Pin element and shows the messages that are displayed for both a successful and unsuccessful PIN verification:

22_1_VerifyPIN_Palette.jpg

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*