Create an extension script

You should create new extension scripts only from the Password Reset Extension Script form as described here. Do not create extension scripts in the System Definition > Script Includesinterface.

Before you begin

Role required: password_reset_admin or admin

Procedure

  1. Navigate to Password Reset > Extensions > New extension script.
  2. Enter a name in the Extension script name field.
    Use CamelCase to construct a name without spaces, for example, PwdEnrollmentCustom.
  3. Select an Extension script category.
    • Enrollment check
    • Enrollment form processor
    • Identification form processor
    • Password generator
    • User account lookup
    • Verification form processor
  4. Click Submit.
    A new instance of the script include for the selected category opens.
  5. Edit the script by providing an implementation in the body of the process or processForm function, depending on the script category. You can add additional functions as long as the process or processForm function accepts the defined parameters and returns the expected results.
    Note: Do not edit or delete the Category declaration.
    New extension script
  6. Click Update.