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.

Unable to configure an SLA for a catalog item because its variables do not appear as selectableoptio

Sathwik1
Tera Expert

 

 

I am trying to configure an SLA for a specific catalog item on the catalog task table, and the SLA needs to be triggered based on the value selected in one of the item’s variables. However, when I go into the SLA Definition and attempt to set a condition using that variable, the variable option does not appear in the field list.

 

I expected to see the catalog item’s variables available so I could build a condition like Requested Item -> Variables, but variables field it's self it is not showing, for some other catalog items it was showing.. 

 

Should I need to configure anything additional show variables option in the SLA Definition?

 

@Ankur Bawiskar 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Sathwik1 

it's possible to select variables when you are creating SLA on sc_task

-> select Show Related Fields

-> Select Variables and then select your Item and Variable Name and value

catalog variables in sla on sc task.gif

But this link says it doesn't work

If it works for you great, if not then this link has approach to use custom field

SLA Using Variables from SC_TASK Not Starting as Expected 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

8 REPLIES 8

I tried it already.

Now I got it. thanks @Ankur Bawiskar but just a question how it directly showed when we just click on "show releated fields" instead of dotwalk? becuase it was existed in the ritm table right?

@Sathwik1 

variables are also associated to catalog tasks so it could be seen directly

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@Sathwik1 

if you are able to make it work without custom field using approach I shared then fine.

but this KB says never use dot walked conditions for SLA as it might break the SLA Repair etc

so better to discuss with customer and then proceed

Why dot-walked conditions on SLA Definitions should never be used 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader