Dynamically add CAB based on Risk field value

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 to be set, similarly when ‘High’ risk is chosen a different set of CAB approvers have to be applied.

Now with this script, we can apply different sets of CAB approvers to a Change based on the Risk chosen for the Change.

Steps to configure:
1.  Download the attached scripts.  Copy the contents into Change custom functions.

2.  Goto Admin > Change Custom Function > Global Function > New > Paste the contents from GF_4_Configuration.txt and save it with a name.
Update the SDP configurations details in the global function.


3.  Goto Admin > Change Custom Functions > Global function > New > Paste the content from the attachment  (GF_17_CAB-High_Risk.txt) and save it with a name.  Set the return type to MAP.

4.  Goto Admin > Change Custom Functions > Global function > New > Paste the content from the attachment  (GF_18_CAB-Low_Medium_Risk.txt) and save it with a name. Set the return type to MAP.

5. Go to Admin --> Change Custom Functions. Create a new function. Paste the content from the attachment (CustomFunction_CAB_addition.txt) and save it with a name.

6. Configure a custom trigger to get invoked for all changes being created.  (Trigger invoking criteria can be modified as per your requirement)
Note:  Dynamic approvals can be added only if there is no workflow configured for the change request.

                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • How to assign CAB members to a change request automatically.

                        Note:  Attached script will not work beyond 11138 SDP Version. ​ This is a sample script to add CAB Members to a Change Request through Change Custom Triggers.The CAB Members can only be added manually to the Change Request ,under the Approval Tab, ...
                      • Dynamically set SLA based on field values

                        Requirement: SLA for service requests needs to be set depending on the category, subcategory and priority of the request. Usecase: The possibility to modify/set SLA depending on a request Field is not available in Service Request. Also, since SLA is ...
                      • Dynamic checklist based on field values

                        Requirement: Based on the answers provided for resource questions / request additional fields, dynamically a checklist has to be associated to the request UseCase: When an alarm is received indicating an issue with a server’s performance, with the ...
                      • Update Change Impact based on Selected Assets Business impact value

                        This requirement includes 3 global functions, 1 change custom action and 1 change custom trigger.   Step 1: getConfiguration Global Function   1) Go to Admin ->  change custom function -> global function-> Add new --> Mention function name and Return ...
                      • 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 --> ...