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

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.


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



                  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 ...
                    • Reply API

                      Below is a sample reply API URL: http://<servername>:<portnumber>/sdpapi/request/<Request ID>/reply CALL: POST INPUT_DATA={ "operation": { "details": { "to": "to address", "cc": "cc address", "subject": "subject", "description": "description" } } }
                    • Script to Notify Support Reps when a new reply is received for Unassigned Requests

                      Please do follow the below steps to notify support reps when an unassigned request is updated or when a reply is received.  1. Download the configuration.json file, sendMail.py file, requestobj.json file from the below link: ...
                    • Scripts to update request status when a new reply is received.

                      Please do refer to the below steps to change the status when a Contact sends a new reply to the ticket. 1. Download the script files from the below link and extract them and place it under..\ManageEngine\SupportCenter\integration\custom_scripts - ...
                    • 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 ...