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 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 ...
                    • Change Conversation as "Private" when the external user replies to the Request

                      Recently one of our customers had the requirement to change the conversation to "Private" when the external user replies to the request. Customer's workflow: The request is created by a user who is inside the application. Now the admin is forwarding ...
                    • How to update a request based on certain values.

                      This post describes the use of a python script to update requests based on values given in the request_properties.json file. This action can be performed using Custom Triggers. UseCase:  We have a Service template for account lockout/password reset. ...
                    • 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 ...