Update Change Impact based on Selected Assets Business impact value

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 Type as Map (Refer below screenshot)

2) Copy the content from getConfiguration.txt file and paste it inside custom function

3) Replace servername,port with SDP Hosted URL and Technician key

4) Save the global function, Edit the saved function and note it down the global functionId (In the screenshot the global function id is global_function_7)

 

 

 

 

 

Step 2: getImpact Global Function

 

1) Go to Admin ->  Change Custom Function -> global function-> Add new --> Mention function name and Return Type as Map (Refer below screenshot)

2) Add 2 parameters ciid,helpdeskID under parameters section as shown in the below screenshot

3) Copy the content from  getAssetImpact.txt file and past it inside custom function

4) Replace global_function_7 with the global functionId that saved in Step 1: getConfiguration Global Function

5) Replace the business_impact_udf_name field name value and save the global function

we can get the udf id of business impact attribute from this query
select attributeid from attributes where attribute='ae.cmdb.base.businessImpact'

For example if the attributeid is 100000001, we have to replace
business_impact_udf_name = "udf_pickref_100000001"

 

6) Edit the saved function and note it down the global functionId (In the screenshot the global function id is global_function_5)

 

 

 

 Step 3: updateChangeImpact Global Function

 

1) Go to Admin ->  change custom function -> global function-> Add new --> Mention function name and Return Type as Map (Refer below screenshot)

2) Add 3 parameters change_id, impact_id,helpdeskID under parameters section as shown in the below screenshot

3) Copy the content from updateChangeImpact.txt  and past it inside custom function

4) Replace global_function_7 with the global functionId that saved in the  Step 1: getConfiguration Global Function and save the global function

 

 

 

 

Step 4 : updateChangeImpactFromAssetImpact change custom function

 

1) Go to Admin ->  Change Custom Function -> Custom actions -> Add new

2) Copy the content from updateChangeImpactFromAssetImpact.txt file , and past it inside custom function

3) Update impact_preference list starting with the lowest preference to the highest preference

For example

impact_preference = ["Low","Medium","Normal","High","Highest"]

4) Replace global_function_5 with the global functionId that saved in Step 2: getAssetImpact Global Function

5) Replace global_function_4 with the global functionId that saved in Step 3: updateChangeImpact Global Function

6) Save the global function

 

 

 


Step 5 : Configuring Change Custom Trigger for updating the Change Impact

 

1)Go To Admin-> Change Custom Triggers -> add new

2) Select Execution the action value and Criteria

3) Under Perform Action select Action Type as Execute Custom Functions and Script file to run as the Function that under in Step 4 : updateChangeImpactFromAssetImpact change custom function

4) Save the trigger

 

 

 

5. Now create a Change with some assets selected and Save the change, If the Change Custom Trigger criteria is matched that created in Step 5, Change impact value will be updated with the highest preference of selected asset business impact value

 

For Example : 3 assets selected

machine1 --> Low Business Impact

machine2 --> Normal Business Impact

machine3 --> Highest Business Impact

Once change is created with above three assets change impact value is updated as Highest


                  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 ...
                    • Update Change Roles based on Support Group

                      Requirement: Set Change Approver based on Support group selected Steps to configure: Download the attached scripts. Navigate to Admin > Developer Space > Change Custom Function. Copy and paste the content of the attached file ...
                    • 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, ...
                    • 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 ...
                    • Script to bulk close change using deluge script based on the status

                      The following script will help you bulk close changes based on the status of change using custom schedules 1. Go to Reports tab --> New query report --> copy the query to the query editor and run the report. Save the report in the folder. The query ...