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.

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
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

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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