Close a request upon receiving a response containing a closing statement.

Close a request upon receiving a response containing a closing statement.

Usecase:
Close a request when the requester replies to the ticket with close phrase.

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 --> Notification Custom Functions. Create a new function.
    1. Refer to the attached script. (closeRequestIfRepliedWithClosePhrase.txt.)
    2. Update the global function count in the script as per your instance.
    3. Sample Description content: "CLOSE REQUEST"
  4. Configure Notification custom trigger to get executed every time a reply is received from the requester for a request.




                    New to ADSelfService Plus?

                      • Related Articles

                      • Close a request when a reply is received with a close phrase

                        Usecase: Close a request when the requester replies to the ticket with close phrase. For the latest SDP Versions, Refer to: ...
                      • Automatically close request after successive approval reminders.

                        This post describes the use of a python script to close requests after successive approval reminders using Custom Schedules. Use Case: We have an option under the self-service portal in order to send reminders mail for the approvals, what would be ...
                      • Time taken to First Response

                        First Response Time is the number of minutes, hours, or days between when a customer submits a support ticket and when a customer support representative provides an initial response. It indicates how long a customer has to wait before being helped. ...
                      • Update Request Status upon Receiving a New Reply

                        Use case: When a technician works on a request, there might be incidents where he might need additional information from the requester. In such cases, the request is moved to "On Hold" status while waiting for the requester's reply. This request has ...
                      • How to close associated incident requests of change request automatically

                        This post describes the use of a python script to close change that are in a specific stage using Custom Schedules. Use Case: There may be a scenario where number of Change Requests that have got closed and the associated incident is still in open ...