How to get your Service Level Agreements (SLAs) to calculate on display and also determine how long it takes for a single task SLA record.Issue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> You may observe that your SLAs are not updated when you open a task and you would want this to be updated every time so that you can see the most up-to-date values. Procedure There is a system property glide.sla.calculate_on_display that controls this behavior. When set to true, the system will calculate Task SLA records when a Task form is displayed. This ensures that the task SLAs calculations are up to date but this may increase form load time. The type of property is true/false. Related LinksYou may be concerned the load time could be significant and would like to know how long it takes. This is a sample script that will determine how long it will take based on the Calc SLAs on Display business rule running on Task table. The script has been modified, by adding a timer and should be used only as a reference. var is2011 = gs.getProperty("com.snc.sla.engine.version", "2010") == "2011";var strtime = 0;var stptime = 0;var task_sla = new GlideRecord("task_sla");task_sla.addActiveQuery();task_sla.addQuery("task", "d5a9c3dddbb1430032cd5845dc96194a"); <-- Replace sys id with task sys idtask_sla.addQuery('stage', '!=', 'paused');task_sla.query();while (task_sla.next()) { if (is2011) { strtime = new GlideDateTime().getNumericValue(); SLACalculatorNG.calculateSLA(task_sla); stptime = new GlideDateTime().getNumericValue(); } else { strtime = new GlideDateTime().getNumericValue(); var slac = new SLACalculator(); slac.calcAnSLA(task_sla); stptime = new GlideDateTime().getNumericValue(); } gs.print("Duration in milliseconds: " + (stptime - strtime));} You can run the script in the background, replacing the sys id in the highlighted section with the sys id of the task you would like to determine how long it takes to calculate its SLA. After running the script you will see an output like *** Script: Duration in milliseconds: 8 Please note, there will be an output only if the task SLA is not paused and is active.