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

                      • 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 ...
                      • 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 ...
                      • 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 --> ...
                      • Create multiple Child Requests - Depending on a Resource Question(13002) - Deluge

                        This is same requirement as in https://pitstop.manageengine.com/portal/en/kb/articles/create-multiple-child-requests-depending-on-a-resource-question , but for SDP builds 13002 and above. With the latest update, the global functions and custom ...
                      • Dynamically add CAB based on Risk field value

                        Requirement: Based on the Risk field value chosen, a set of CAB approvers have to be added to the Change UseCase: There will be different sets of CAB approvers available and when a Change is created with ‘Low/Medium’ risk a set of CAB approvers have ...