To close a request upon receiving a response from the requester containing the given statement.(14300)

To close a request upon receiving a response from the requester containing the given statement.(14300)

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.
    -->Update the URL and integration key in the script. 
    -->You can get the integration key under Admin > Integrations > Integration Key > New (Please use an integration key with admin privilege, as there wont be any role related permission issues. )


2.Go to Admin --> Notification Custom Functions-->Create a new function. Refer to the attached script. (closeRequestIfRepliedWithClosePhrase.txt.)
Update the global function count in the script as per your instance.


3.Configure Notification custom trigger to get executed every time a reply is received from the requester for a request.

Goto>>Admin>>Notification custom trigger  (Sample content: close request)



The Request status got updated





                  New to ADSelfService Plus?

                    • Related Articles

                    • 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: Goto Admin > Developer Space > Global function > New > Paste the content from the attachment Global function_4.txt and save it with a name. Update ...
                    • 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 ...
                    • 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 automatically close change that have passed their scheduled time.

                      Please follow the below steps. 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 is available in the attachment (query.txt). Modify the status in the query. ...
                    • Update Request Status upon Receiving a New Reply from Technician

                      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, when the technician replies to the customer the ticket status should be changed to "On-Hold". Steps ...