Script to satisfy first response SLA in SCP 11

Script to satisfy first response SLA in SCP 11

As of now only for the following scenarios, First response can be marked in the SupportCenter application:

* Notes addition
* Worklog addition
* Technicians manual response

Apart from this if you want to mark any other actions in the application as First Response, we can use a script that automatically adds notes based on a condition to the request. 

Prerequisite:

1. We are using the python script to add notes, the SCP server should have python configured. You can follow the instructions here.  
2. Under Admin >> Self Service Portal >> Enable First response by default for, check Notes

Steps: 

1) Download the attached zip file and extract the contents in the path SupportCenterPlus\integration\custom_scripts.
2) Edit the configuration.json and update the URL and Technician Key.
3) Configure a Custom Trigger like shown below. Here, the status change is used to mark the first response.




I have configured the trigger in such a way that if a support rep is assigned to a request, then that time will be marked as first response in the application, and the same will be marked in the application as Responded Date like shown below,




If you want the user/contact to be notified of the update, then enable the below notification in Notification Rules under Contact notifications.


                  New to ADSelfService Plus?

                    • Related Articles

                    • Script to satisfy first response SLA

                      As of now only for the following scenarios, First response can be marked in the MSP application, * Notes addition * Worklog addition * Technicians manual response Apart from this if you want to mark any other actions in the application as First ...
                    • Deluge Script to achieve First Response SLA- builds above 13.0

                      Before following the below steps, ensure that you have the option "Enable First response by default for notes addition" under Admin - > Self Service portal settings. 1. Go to Admin - > general settings-> Global Functions and click on New. Copy the ...
                    • SLA details

                      This report is used to get the complete list of SLA  configured in the application.  ​ PGSQL SELECT sdo.name "Site Name" , sla.slaname "SLA", MAX(sla.duebydays) "SLA Days", MAX(sla.duebyhours) "SLA Hours", MAX(sla.duebyminutes) "SLA Minutes" , ...
                    • Query report for Time Spent for First response in Version 11.0 (Postgres)

                      SELECT slad.SLANAME AS "Request SLA", wo.WORKORDERID AS "Request ID", longtodate(wo.CREATEDTIME) AS "Created Time", slad.SLANAME AS "Request SLA", longtodate(wo.FR_DUETIME) AS "Request first response due time",round(wo.RESPONSE_TIMESPENT / 60000) AS ...
                    • Query to show response, resolution SLA violated count and its percentage ( PGSQL & MSSQL)

                      Tested in build PGSQL (14300) and MSSQL (14306) SELECT pd.PRIORITYNAME AS "Priority" , count(wo.WORKORDERID) "Total Requests", count(case when ( std.ispending='0') THEN 1 ELSE NULL END) "Closed", count(case when (wos.IS_FR_OVERDUE='1') THEN 1 ELSE ...