Avoid Re-opening of Resolved Requests and notify the tehcnicians

Avoid Re-opening of Resolved Requests and notify the tehcnicians

Scenario :
If someone replies to the Resolved requests. Status should not change to Open and Stay as "Resolved" and notify the Technician that there's a reply with a specific Keyword. This requires in case, if a Technician has replied and marked the request as Resolved and the requester or end user replies back saying 'Thank You'.

We can achieve the above using two scripts. Please check the attached
1. Create an additional field (S-line) and add it to the template. 
2.  Admin > Self-Service Portal Settings: When requester replies to closed requests: > Always create a new request
3. Using the business rule script we can update the status in the additional field. So every time the status is updated the additional field will be updated with the status.
4. Using custom trigger we update the status from the additional field when a reply is received. 

Business rule :
1. Go to Admin > Request Custom Functions > Custom Actions > Paste the content from the attachment (1. BR_update_previous_status.txt) and save it with a name.
2. Modify the additional field "API Field name" in the script. (2. Additioanl field API name.png)
3. Configure the Business rule as in the attached screenshot (3. Business rule configuration.png). 

Custom trigger :
1.Goto Admin > Request Custom Functions > Global function > New > Paste the content from the attachment (1. configuration.txt) and save it with a name.
2.Update the URL and technician key in the script. You can get the technician key under profile in the top right corner. Refer to this link.
3.Go to Admin > Request Custom Functions > Custom Actions > Paste the content from the attachment (3. update_status.txt) and save it with a name.
4. Modify the global function name, additional field API name, and the status name in the script. (2. Global function.png)
5. Configure custom trigger as in the attached screenshot. (5. Custom trigger configuration.png)

                    New to ADSelfService Plus?

                      • Related Articles

                      • To reopen resolved ticket by requester reply.

                        * Navigate to Admin -> Self Self Service Portal settings    * Enable "Allow requesters to reopen their own requests" by choosing "Yes" (This option is interrelated to open resolved request on requester reply)    * Save changes and check the status. 
                      • Query to retrieve both the live and archived requests details

                        Database: Pgsql Query: SELECT wo.WORKORDERID AS "Request ID", pd.PRIORITYNAME AS "Priority", id.NAME AS "Impact", ud.NAME AS "Urgency", rtd.NAME AS "Request Type", LONGTODATE(wo.CREATEDTIME) AS "Created Time", LONGTODATE(wo.RESOLVEDTIME) AS "Resolved ...
                      • Difference between resolved and Closed notification

                        The requester notifications are sent for two status: 'Resolved' and 'Closed' ​ Both 'Resolved' and 'Closed' are default completed statuses. When a technician provides a solution that he thinks will solve the issue, he/she can set the request to the ...
                      • Query to show tickets that are in resolved status for more than 1 hour ( MSSQL)

                        Tested in build MSSQL (14306) MSSQL: SELECT wo.WORKORDERID AS "Request ID",ad.ORG_NAME AS "Account" FROM WorkOrder wo LEFT JOIN WorkOrderStates wos ON wo.WORKORDERID=wos.WORKORDERID INNER JOIN Accountsitemapping asm ON wo.siteid=asm.siteid INNER JOIN ...
                      • The requests are stricken, when associated with expired contract

                        When , in Request Module, the requests are stricken out, the below mentioned is the reason and solution to remove it. -> The stricken out of the tickets indicates that the contract associated with that ticket has expired. -> You can follow the below ...