Close all linked requests when a parent request is closed - Deluge

Close all linked requests when a parent request is closed - Deluge

All the linked requests need to be closed when the parent request is closed.

In an Organisation, the same issue might be reported by different end-users.  Since all these requests are raised for the same issue, we can link them to one parent request.
When the parent request is Resolved/Closed, all tickets linked to this parent ticket should also be Resolved/Closed automatically.  

Steps to configure:
1.  Download the attached scripts.  Copy the contents into Request custom functions.
2.  Goto Admin > Request Custom Function > Global Function > New > Paste the global function contents and save it with a name.
(Update the SDP configurations details in the global function)
3.  Goto Admin > Request Custom Function > Custom Function > New > Paste the closed_linked_request.txt content and save it with a name
4.  Configure the created custom function in a trigger to get executed every time a request is closed.

Note:  From Global Function >> Copy the global_function_(count).  Update the copied count in the custom functions.

      New to ADSelfService Plus?


            • Related Articles

            • How to close linked requests when a parent request is closed.

              This post describes the use of a python script to close all the linked request when a parent request is closed using custom triggers. Use Case: We get tickets which are getting reported for the same issue but different end-users so that once we ...
            • Create multiple Child Requests - Deluge Script

              This is a sample deluge script to automatically trigger the creation of multiple child requests from a parent request, based on the request template chosen. The request ID of the child requests will be added as a Note in the parent request. This is ...
            • Close parent request only if all the linked request are closed.

              Requirement: Parent ticket can be closed only if all the linked requests are closed Usecase: In many organizations, the parent ticket is divided into many sub-requests, each of which is handled by a different technician/group. All of these ...
            • 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 ...