Script to Auto close a request by adding a resolution using deluge script

Script to Auto close a request by adding a resolution using deluge script

Please note the script provided will work only from builds 10600 and above

1: Download the attached script and extract it.

2: Go to Admin > Request Custom Functions > Global function > New > Paste the content from the attachment  1.configuration.txt and save it with a name.

2. Update the URL and technician key in the script. You can get the technician key under profile in the top right corner. Refer to the attached screenshot.
Refer to the below link.


3. Go to Admin --> Request Custom Functions --> Custom Actions --> Paste the content from the attachment (3. Close request.txt) and save it with a name.

4. Modify the global function name of the Global function created in Step 1 and the Status in the script. Refer to the attached screenshot. 

5. Configure the Custom Trigger as in the attached screenshot.

Based on the above configurations every time a request is edited and when the business rule criteria is matched a resolution will be added to the ticket and status will be updated as per the status given in the script.

                    New to ADSelfService Plus?

                      • Related Articles

                      • Close the request upon adding a note.

                        Kindly follow the steps mentioned below: 1) Go to Admin >> Developer Space >> Custom Function >> Global Functions >> Copy & Paste the attached GF_Content.txt and save it with a name. Update the URL and technician key as per your instance. Refer to ...
                      • Script to Auto close Request when the status is set to Resolved

                        This post describes the use of a python script to close requests that are set in Resolved status using Custom Schedules What is 'Custom Schedules' ? The Custom Schedules feature enables you to access any data in ServiceDesk Plus to perform customized ...
                      • 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 ...
                      • How to add Resolution and Close Requests using Custom Trigger (Python)

                        We can achieve it by using the custom trigger feature along with a python script. We can set a trigger based on which the script will execute, the script will add the resolution and set the status to 'Closed' You can modify the condition for the ...
                      • How to automatically close requests that are in a specific status.

                        This post describes the use of a python script to close requests that are put in a specific status using Custom Schedules.This showcases the use of a feature called 'Custom Schedules' that was released in the build 9300 of ServiceDesk Plus. What is ...