On Incident form SLAs are not displayed

naaani
Giga Contributor

when i am Create An Incident as any user ITIL/user

observe that once incident created with all mandatory fields click on Tab Task SLAs

when i observe that Task SLA tab is empty.

expected:

On Task SLAs tab, SLAs should be visible to the user.

find_real_file.png

22 REPLIES 22

Ulrich Jugl
ServiceNow Employee
ServiceNow Employee

And did you try with an easier start condition (e.g. only Active = true) to see, if this easy SLA would be attached? In addition, you can enable logging, or try to run the SLA engine yourself from background code



// run the 2011 SLA Engine, if 'com.snc.sla.engine.version' is set to '2011' (default for new installs)


// run asynchronously, if 'com.snc.sla.process.async' is set to true. (default false, for new installs)


new TaskSLAController(current).run();


Hello



Yes i am trying to start condition only Active =true but its not working


Ulrich Jugl
ServiceNow Employee
ServiceNow Employee

Can you check if the following business rules are active on task table?


  • Process SLAs
  • Run SLAs


In addition, can you please try to enable Business rule debugging, to see (on update of your record), if these Business rules are executed or not? If they are executed correctly (and not skipped, you can find them in the stack trace below the form by searching for their name), you could enable Debugging on your SLA definition and see what it logs into the System log.


Thanks i found out the problem the problem is Script include script Tasksla.


Ulrich Jugl
ServiceNow Employee
ServiceNow Employee

Just to confirm, what was the exact issue in the script include? Can you explain in a bit more detail, just in case others will have the same issue?