We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Dynamic Setting of SLA based on Variable Selection

Kelli42
Tera Contributor

Is there a way, perhaps with an onChange script, to dynamically set the SLA in a catalog item request based on what is selected in a variable on the form? For instance, given Request Type is a variable on the form. If Request Type = A, set SLA to 7 days. If Request Type = B || C, set SLA to 21 days.

3 REPLIES 3

Jaspal Singh
Mega Patron

Hi,

Considering SLA is on RITM table you should be able to dot-walk to variable and add it in the Start condition and it will work.

Kelli42
Tera Contributor

I'm not seeing a way to dot walk to the variable - none of the options in filter for start conditions seem to point to that association. Do you know specifically how to set up that condition?

Hi @Kelli42 

 

Greetings!!

 

Create SLA on RITM Table. and follow the screen shots below.

 

LearnNGrowAtul_0-1701707068769.png

LearnNGrowAtul_1-1701707108690.png

 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************