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 ADSelfService Plus?

                    • Related Articles

                    • Change approval

                      SELECT chdt.CHANGEID AS "Change ID", chdt.TITLE AS "Title", orgaaa.FIRST_NAME AS "Change Requester", qd.QUEUENAME AS "Group", ownaaa.FIRST_NAME AS "Change Owner", catadef.CATEGORYNAME AS "Category", priodef1.PRIORITYNAME AS "Priority", ...
                    • Request Approval Details

                      This report is used to view the historical details of Approved and Denied approval processes and their individual steps. We can also use this report to display all details for which an approval decision is pending. To make any changes to a query, ...
                    • Query to get the Request Approval details

                      Compatible builds : 14000 to 14200 DB : MSSQL /PGSQL OUTPUT: SELECT wo.WORKORDERID AS "Request ID", wo.title AS "Subject", wo.REQUESTERID AS "Requester ID", LONGTODATE(wo.CREATEDTIME) AS "Requested Date", LONGTODATE(apdet.sent_time) AS "Action ...
                    • 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 ...
                    • Status change from history

                      This report is used to find who changed the status To make any changes to a query, refer to the KB article below. https://pitstop.manageengine.com/support/manageengine/ShowHomePage.do#Solutions/dv/24000633501275 SELECT wo.WORKORDERID "Request ID", ...