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:
- Copy the RiskCalculator.html to the [Build Home]/custom folder.
- The questions in the popup can be edited in the html file.
- Go to Admin >> Customisation >> Additional filed >> Change
- Create two additional fields, one for storing the risk score value and other for storing the user options.
- Go to Template & Forms >> Change Template
- Create a new FAFR > "On Form Load" rule and copy & paste the contents of RiskScore.txt under execute script action.
- UDF_CHAR4 refers to additional field for storing the Risk score
- UDF_CHAR3 refers to additional field for storing the user choices.
- Update these field names in the script according to your environment.
- 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.
- 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?