The CreatorCon Call for Content is officially open! Get started here.

How many levels we can dot walk using current Api in business rule?

KM SN
Tera Expert

In case many levels is that good practice to beyond two layers?

5 REPLIES 5

sunil maddheshi
Tera Guru

@KM SN 

you can dot-walk as many levels deep as necessary using the current API in a Business Rule. 

But it's generally not recommended to go beyond two levels of dot-walking in a Business Rule due to:

  1. Performance Issues – Every dot-walked reference results in a database query. Too many queries can slow down your instance.
  2. Null Values Risk – If any reference field is empty (null), the script may fail unless you handle it properly.
  3. Readability & Maintainability – Deep dot-walking makes scripts harder to read, debug, and maintain.

Best Practices:

*Use GlideRecord Instead of Deep Dot-Walking If you need data beyond two levels, use a GlideRecord query instead of dot-walking.

 

Please mark correct/helpful if this helps you!