Calculate Risk Score based on a custom questionnaire

Calculate Risk Score based on a custom questionnaire

UseCase:

Risk score has to be set based on the response for a custom questionnaire populated in a form.

Note:  The form is adaptable based on specific needs, this version serves as a sample questionnaire with predefined risk values defined within the HTML.  This would be used to calculate the risk score.


Steps to configure:

  1. Copy the RiskCalculator.html to the [Build Home]/custom folder.  
    1. The questions in the popup can be edited in the html file.
  2. Go to Admin >> Customisation >> Additional filed >> Change
    1. Create two additional fields, one for storing the risk score value and other for storing the user options.

  3. Go to Template & Forms  >> Change Template
  4. Create a new FAFR > "On Form Load" rule and copy & paste the contents of RiskScore.txt under execute script action.
    1. UDF_CHAR4 refers to additional field for storing the Risk score
    2. UDF_CHAR3 refers to additional field for storing the user choices.
    3. Update these field names in the script according to your environment.
  5. Go to Change Module > New Change page. Click on Calculate Risk Score button, the popup will open with a set of questions.  Risk Score will be calculated based on the answers filled for the questionnaire.
  6. This can be edited at any point of time by re-clicking on the same button. Refer the screen shot below.

























                    New to ADSelfService Plus?