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:
- Goto Admin > Request Custom Functions > 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.

- Update the integration key in the global function.

- Incase of older builds you can use the techniciankey with admin privilege.
- Go to Admin --> Request Custom Functions. Create a new function.
- Refer to the attached script. (closeRequestFromReply.txt.)
- Update the global function count in the script as per your instance.
- Sample Description content: "CLOSE REQUEST"
- Configure Request custom trigger to get executed every time a reply is received for a request.
New to ADSelfService Plus?
Related Articles
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. ...
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 ...
Close comments
This report is used to find the close comment added by requester. To make any changes to a query, refer to the KB article below. https://pitstop.manageengine.com/support/manageengine/ShowHomePage.do#Solutions/dv/24000627781192 SELECT wo.WORKORDERID ...
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 ...
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 ...