How to change status once a request has been approved or rejected

How to change status once a request has been approved or rejected

Prerequisite

- A python environment should be configured in the SDP-MSP Server. Instructions here
- Under Admin>Self Service Portal>Do you wish to enable On Hold scheduler when your requests are put on hold?>Should be set to 'NO'

Instructions

 1.  Extract the ZIP file in attachments and place it under..\ManageEngine\Servicedesk\integration\custom_scripts - folder. 

2.  Edit the follow details on the script only

- configuration.json:        Provide the Mail server details along with the application URL and technician key 
- update_req_status.py:  Configure the custom status you would like to set upon the trigger. 



3. Under Admin>Custom Trigger> Use the below criteria  >You can set the status condition based on the requirement. 



4. Save the Custom Trigger. 

                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • How to implement dynamic request approval using FAFR and custom triggers.

                        This is a sample script written in Python to handle Conditional Approvals for Incident \ Service Requests, through Custom Triggers using Field and Form Rules.  One of the advantages of using this script is that there is no modification of the script ...
                      • Query to get approval status per request with approvers by account (MSSQL)

                        Tested in build MSSQL (14306) SELECT wo.WORKORDERID AS "Request ID", wo.TITLE AS "Subject", wo.DESCRIPTION As "DESCRIPTION", aau.FIRST_NAME AS "Requester", dpt1.DEPTNAME AS " Requester Department", srep.First_Name As "Suprep", qd.QUEUENAME AS ...
                      • Query reports to know the Ticket wise Approval status (MSSQL)

                        Tested in build MSSQL (14306) 1. Login to SDP MSP as administrator 2. Execute this from SDP MSP application -> Reports -> New Query report SELECT wo.WORKORDERID AS "Request ID", wo.TITLE AS "Subject", srep.First_Name As "Suprep", qd.QUEUENAME AS ...
                      • Query to show Approved tickets per Approver (MSSQL & PGSQL)

                        Tested in Build PGSQL (14300) or MSSQL (14306) PGSQL & MSSQL: SELECT wo.WORKORDERID "Request ID", wo.TITLE "Subject", std.STATUSNAME "Request Status", ti.FIRST_NAME "Technician", longtodate(wo.CREATEDTIME) "Created Time", ApprovalDetails.EMAIL ...
                      • 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 ...