How many levels we can dot walk using current Api in business rule?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 12:17 AM
In case many levels is that good practice to beyond two layers?
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 04:32 AM
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:
- Performance Issues – Every dot-walked reference results in a database query. Too many queries can slow down your instance.
- Null Values Risk – If any reference field is empty (null), the script may fail unless you handle it properly.
- 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!