Skip to main content

10.3.1 SLA configuration

To configure the SLA module, access the SLA.config.php file in the subfolder where the CRM modules/SLA is installed.

image-1565103664359.png

Then open the file with an editor (e.g. Notepad++):

image-1564743129873.png

The file allows you to define a series of settings related to the SLA count; details given below.

Module and status field definition

image-1565104308624.png

Suspension statuses

It is possible to define one or more statuses for which the SLA count is interrupted:

image-1564743251661.png

In the figure, the SLA count is suspended if the ticket is placed in "Wait For Response" status.

Add a new status for suspension

To add a new state:

(a) add a new line to the configuration file as shown in the figure:

image-1564743302894.png

(b) enter the value between quotation marks and then the comma as shown in the figure:

image-1565104601993.png

Warning! The configuration is case sensitive so pay attention to upper and lower cases!

image-1564743374756.png

Warning! For pre-configured and non-removable values, the value must be entered in English (access the CRM in English and view the values e.g. with the picklist editor):

image-1555420873610.png

Warning! For custom values entered through the Standard Picklist Editor, input exactly the value entered:

In the figure, the custom value entered is "Waiting for goods" (all custom values entered through the standard picklist editor remain unchanged even when accessing in different languages. In the example in the figure, the value entered in Italian remains unchanged even when accessing in English).

(c) save changes.

Statuses for counting to the Deadline

It is possible to define one or more statuses that cause an end to counting:

image-1564747480735.png

Add a status for the Deadline

To add a new status:

(a) add a new line to the configuration file as shown in the figure:

image-1564747511526.png

(b) enter the value between quotation marks and then the comma as shown in the figure:

image-1565272915207.png

(c) save the changes

Due date and time

It is possible to define whether the Due Date and Due Time fields should be automatically recognised.

image-1564747579957.png

If so, the Due Date and Due Time will be automatically recognised as soon as the Status of the ticket takes on one of the values defined in the Statuses section of the paragraph for Counting to the Deadline.
If not, then Due Date and Due Time will have to be manually recognised.

Time slots

It is possible to define the time slot in which the service is to be considered active for each day of the week (therefore counted in the SLA calculation):

image-1564747701553.png

Let's look at the structure of a line in detail. Each line is made up of two time slots, one for the morning and the other for the afternoon; thus each time slot contains an indication of the start time and end time:

image-1565345570014.png

Example 1 of modifying a time slot.
Let's suppose we want to change the Wednesday time slot: FROM 8.00-12.00 and 15.00-19.00 TO 8.00-13.00 and 14.30-18.30.

Let’s intervene on the line that corresponds to the day “Wednesday” :

image-1555421028289.png

We therefore modify the line that corresponds to Wednesday

the file is then saved.

Example 2 of modifying a time slot.
Let’s suppose you want to set Saturday to work only in the morning time slot 8.00-12.00.

We therefore modify the line that corresponds to Saturday:

image-1555421044153.png

and we remove the code that refers to the afternoon time slot:

image-1555421054364.png

so:

image-1555421063533.png

and we save the file.

Excluded days of the week
It is possible to define which days of the week can be completely excluded from the counts:

image-1555421085028.png

Add a day to exclude
To add a day to exclude:

(a) add a new line as in the figure:

image-1555421094740.png

(b) indicate the sequence of the day followed by a comma:

image-1565345680094.png

Correspondence days and progressives:

Days

Progressive number

Sunday

0

Monday

1

Tuesday

2

Wednesday

3

Thursday

4

Friday

5

Saturday

6

c) save the file.

Holidays in the year
It is possible to define days in the year that should be excluded from the count (public holidays):

image-1555421138734.png

Add a holiday
For example, let’s add a Patron Saint’s day and assume it is celebrated on 5 June:

(a) add a new line as in the figure:

image-1555421148681.png

(b) Indicate the day between quotation marks according to the 'gg-mm' pattern and then a comma as in the figure:

   image-1565346015431.png

c) save the file.

Special days

It is possible to define special days. Special days may be: days in the year to be counted, although they are normally skipped; days with a different time window than normal:

image-1564748714780.png

Addition of a special day:
Let’s suppose you want to define Christmas Eve as 8.00-12.00 and 14.00-16.00, then:

(a) add a new line as in the figure:

image-1564750669954.png

(b) then indicate the day and time slot in the format: 'gg-mm'=>Array(Array("hh:mm", "hh:mm"), Array("hh:mm", "hh:mm")), in the example we will add the following line:

image-1564750701293.png

c) save the file.

Calculated fields list
Do not change this section.

image-1565346273214.png

SLA Estimated Time
The  field SLA Estimated Time field must be valorised with the estimated SLA resolution time associated with the ticket:

image-1564750885077.png

Warning! During the insertion phase, the SLA Estimated Time must be stated with the value expressed in seconds:

10.3.1 SLA configuration_1.png

Automatic reported SLA Estimated Time
It is possible to configure vtenext in such a way as to automatically complete the SLA Estimated Time field through Process manager.

Example:
If the ticket is defined as blocking, then the SLA Estimated Time is 4 hours; otherwise it is 12 hours. We therefore create a Process that sets the SLA Estimated Time on the basis of the blocking Failure Flag by selecting:

1. Move to Settings Business process Manager > Process Manager and click on New in the top right corner of the screen.

2. Insert a title and eventually a descprition alligned to the subject of the process, like in the followin example:

SLA 2.png

3. Create a process that starts when the field priority is changed. The process has two different paths: urgent priority or other priorities. Now suppose that Urgent ticket set SLA to 4 hours instead other priorities set SLA to 12 hours;

SLA 3.png

 

 

 

 

 

 

 

 



4. Set up the condition inside the task "Change ticket staus" as described below:

SLA 4.png

5. Now Set up the gateway to address the correct task if the process is urgent:

SLA 6.png

6. Lastly set up the two task "Urgent" and "Other priorities" in this way:

SLA 9.png

Urgent priority, set the field SLA estimed time to 4 hours (that is 14400 seconds)

SLA-8_ok.png

Other priorities, set the field SLA estimed time to 12 hours (that is 43200 seconds)

 

Reset SLA
The SLA Reset Flag allows you to reset the counts in progress to zero and restart them when the SLA count is set.

image-1564751168597.png

Procedure:

  1. flag the "Reset SLA" field to reset all counts to zero:

    image-1564751221733.png

     

  2. then reload the page to view the new counts:

    image-1565346788259.png