Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Dot walking is not working

kthudi6
Giga Contributor

we have a case record, under case record we have evidence record, under evidence record we have a evidence task record. So basically case is a reference field on evidence record and evidence is a reference field on the evidence task record. And also on case form we have a case type field. If the case type = standard, i need to show certain fields on evidence task record, i am writing a UI Policy evidence_task.evidence.case.case_type = standard to make those fields visible, but it's not working.

1 ACCEPTED SOLUTION

RaghavendraGund
Tera Contributor

Hello @kthudi6 

You are trying to Dot-walking 3 levels. Evidence Task-->evidence-->Case. Servicenow sometimes Doesn't support 3 or more than 3 level of Dot-walking. Dot walking more than 3 levels is not a best practice.

My suggestion is to write Glide Ajax. if you need any help with the code, i can help you.

Please Mark Helpful, if my Reply added any Value.

Regards
RaghavendraG



View solution in original post

6 REPLIES 6

Tanushree Maiti
Tera Patron

Hi @kthudi6 

Because a UI Policy runs strictly on the client side (the browser), Thats why no dot walking is available.

Refer: KB0690048 UI Policy with dot-walked filters does not execute on new records (sys_id=-1) 

Dot Walking in a Catalog Item UI Policy not working 

https://www.servicenow.com/community/csm-forum/ui-policy-condition-not-working-for-related-fields/td...

 

https://www.servicenow.com/community/servicenow-ai-platform-forum/client-script-needed-to-show-hide-...

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

kthudi6
Giga Contributor

Thanks everyone for the responses