Set CAB based on change type

Set CAB based on change type

Requirement:
Set CAB members depending on the change type chosen, every time a change request is created.

Steps to follow:
  1. Goto Admin > Developer Space > Global function > New > Paste the content from the attachment  Global_function_4.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.

    4. Incase of older builds you can use the techniciankey with admin privilege.
  3. Go to Admin > Developer Space > Change Custom Functions. Create a new function.
    1. Refer to the attached script. (setCAB_changeType.txt.)
    2. Update the global function count in the script as per your instance.

  4. Configure a Change custom trigger to get execute the above function, on every change request being created.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Cab

                      SELECT changetocab.changeid          "ChangeID",         chdt.title                    AS "Title",         ctdef.NAME                    AS "Change Type",         ownaaa.first_name             AS "Change Owner",  ...
                    • 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 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 ...
                    • Script to automatically populate the "Line Manager" role based on the Change Requester

                      "When a Change Request is created, the Line Manager role will automatically be assigned to the user specified in the 'Reporting to' field of the particular Change Requester. Tested in builds: 14300 and 14303. Download the scripts attached. Global ...
                    • How to automatically assign users to different roles in a change request.

                      This script is applicable only for builds prior to 11138. This is a sample python script to read the value in the Change Owner field, when a Change Request is created and set him/her as the Change Implementer automatically, using Change Custom ...