Calculate Risk Score based on a custom questionnaire configured in resource section

Calculate Risk Score based on a custom questionnaire configured in resource section

UseCase:

Risk score has to be set based on the response for a custom questionnaire.
Because the Change module does not offer resource sections like the Service Request module does, this requirement may take the majority of the available additional fields.  As a workaround, we can create a service request with the set of custom questionnaire configured in the resource section and then use these to calculate the risk and then create a change request with the calculated risk score.

Steps to configure:
  1. Goto Admin > Developer Space > Global function > New > Paste the content from the attachment GF_4 - Configuration.txt and save it with a name.
  2. Update the URL and integration key in the script. 
    1. You can get the integration key under Admin > Integrations > Integration Key > New
    2. Please use an integration key with admin privilege, as there wont be any role related permission issues. 

    3. Update the integration key in the global function.

  3. Go to Admin > Developer Space > Global Functions > Copy & Paste the attached risk_matrix_global_function.txt and save it with a name.
    1. Update the scores for each response in the questionnaire according to requirement.
  4. Go to Admin > Developer Space > Request > Copy & paste update_change.txt and save it with a name.
    1. Update the global function name according to your instance at line no: 1  and  8.
  5. Go to Admin > Automation > Custom Triggers > Request > Configure the created custom function in a custom trigger, invoking criteria can be set as per requirement.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Change Risk Assessment Questionnaire using Custom module - Implementation steps

                      We’re excited to share a step-by-step guide( Attached) on implementing a Change Risk Assessment Questionnaire in ServiceDesk Plus using the Custom Module feature. This solution leverages Custom Modules, Change Additional Fields, and Field & Form ...
                    • 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 ...
                    • Risk matrix for Change using Custom module

                      UseCase: Risk need to be calculated through Risk matrix (similar to Priority matrix in the request module) Steps to configure: Configure custom module as in the attached screenshot. 1. Navigate to Admin --> Developer space --> Custom module --> ...
                    • Risk Matrix for Change using Custom Module

                      Overview: A risk matrix helps in identifying risks based on how likely they are to happen and how serious their impact could be. This makes it easier to decide which risks need urgent attention and which ones can be watched over time. It helps manage ...
                    • Resource Section breakage after upgrading to 14505

                      There exists an issue where the resorouce section in Service Catalog requests gets aligned to the left as in the below screenshot and is not rendered properly. Breakage in build: 14505 Issue ID: SD-115268. Kindly add the below-quoted CSS code in the ...