script to update the status of the request based on the subject in the email conversation

script to update the status of the request based on the subject in the email conversation

Build compatible:
14300 and above

Steps to be followed:
1.  Download the attached script.  

2. 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  the screenshot below:


3. Go to Admin >> Developer Space >> Custom Function >> Notification  >> Copy & paste attached CloseRequest.txt and save it with a name.
Note : Please ensure that your globalfunction name is updated at line no : 1 in the created notification custom function.


4. Go to Admin >> Automation >> Custom Triggers  >> Notification
Configure the created  custom function in a Custom Triggers. Refer to the screenshot below:



                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • Python script to update request status

                        This article consists of a python script to update the request status based on a criteria set in Custom trigger. For installation and setup of PYTHON, please refer the below link, ...
                      • How a email appends as conversation to existing request

                        The application append an email to a conversation based on the below criteria 1. Delimiter  Based on delimiter configured under Admin >> Mail Server Settings >> Delimiter If the email subject contains a delimiter matching a request ID, then it ...
                      • Custom script to add requrest ID and text (based on cx preference) to subject in a request Template

                        When a request is created cx wants to update the subject automatically with a text "SAGA" followed by request ID and subject, for all requests with any criteria. Subject Format : "SAGA" + ticket number + subject Please follow the below steps: 1. ...
                      • Update Requester from Request Description

                        Use case: When a request is submitted on behalf of a user via email, the request description contains the requester's full name. Script to update the ticket requester accordingly. Tested on builds: 14306,14500. Steps to follow: Go to Admin > Request ...
                      • Script: Update priority when the subject contains urgent or emergency

                        1.Download the contents and paste it under \ManageEngine\ServiceDeskPlus MSP\integrations\Custom_scripts. 2. Modify the subject in the script as per the requirement. 3. In the configuration.json, configure the URL and technician key. 4. Configure ...