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 ...
                      • How to implement dynamic request approval using FAFR and custom triggers - Deluge

                        This is a sample script written in Deluge to handle Conditional Approvals for Incident \ Service Requests, through Custom Triggers using Field and Form Rules.  One of the advantages of using this script that no modification in the script is required ...
                      • Update a request based on certain values - Deluge

                        This post describes the use of a deluge script to update requests based on values given a global function, namely "request_properties".  This action can be performed using Custom Triggers. Refer to this link for Python ...
                      • 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 ...