Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to use an SLA on Custom Application (table not extending form task)

wallace
Kilo Contributor

Good day all,

I want to find out if it is possible to attach an SLA to a form/table that does not extend from the task table.

Not my exact situation but to try to explain: Let's say on cmdb_ci I want to measure uptime, this does not extend from task, yet I want to have an SLA to ensure the CI is not down for X amount of time.

Thanking you in advance,

Wallace

1 ACCEPTED SOLUTION

troyp
Giga Contributor

Have you considered using Metrics?



Metric Definition Support - ServiceNow Wiki



The SLA framework is really focused on assignable work.   At least that is my understanding on why it is restricted to the task-based tables.



Metrics could be used to track different periods of time for non-task based tables.       It wouldn't have the alerting systems involved, but it might be something to consider.


View solution in original post

9 REPLIES 9

carlosrlara
Mega Expert

Was this ever definitively stated that SLA's could not be done outside of tasks?


Maxym
Giga Contributor

Has anyone considered creating a "shadow" task for existing non-task extending table?

In other words, lets assume we have a table A that doesn't extend task. We create table B that extends task table. Reference A's records from table B and sync state and other necessary fields with business rules. Now we can define SLAs on table B and get values from table A via reference.

Does such approach have any obvious problems that I am missing?

 

 

Community Alums
Not applicable

Hi Wallace,

You can try one option though it is not a best practice.
You can remove the Base Table attribute from Table field in the SLA definition. By default base table attribute value is task, so if you remove this all the tables will be visible.

MahamKaliBadug_0-1720674527901.png

MahamKaliBadug_1-1720674557790.png

 



Hello!
That approach worked for you?

Did removing the base attribute work for you to create SLA definitions on non-task tables?  Thank you.