---
schema_version: "1"
id: cfe3ac503457ba96f97a9e1ce0ae7464b76b937062b98ba894ed78b6c5c182ea
title: Flexible Hierarchies
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/264-0-0/rn_fsc_flexible_hierarchies_container.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_fsc_flexible_hierarchies_container.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2d1cc7f837dcafcea1546e49a7884aaa778cc42663fc419a8f0b24c9feb5bcb6
description: Create consistent flexible hierarchies by defining rules that automatically select and organize matching records, or describe the hierarchy nodes you need in a supported AI coding environment. A headless workflow generates the hierarchy type configuration, including node definitions and relationships.
products:
  - Cross Cloud
release: "264"
---
# Flexible Hierarchies

Create consistent flexible hierarchies by defining rules that automatically select and organize matching records, or describe the hierarchy nodes you need in a supported AI coding environment. A headless workflow generates the hierarchy type configuration, including node definitions and relationships.

- **[Create Flexible Hierarchies with Rules](https://help.salesforce.com/s/articleView?id=release-notes.rn_fsc_flexible_hierarchies_rules.htm&release=264.0.0&type=5)**  
    Reduce manual setup and create consistent flexible hierarchies by defining rules that automatically select and organize matching records. Configure node relationships, filters, and filter logic once, and use the configuration to create hierarchies for multiple eligible root records. Review the generated records in graph or grid view to understand complex business relationships and make informed decisions.
- **[Keep Flexible Hierarchies in Sync Automatically](https://help.salesforce.com/s/articleView?id=release-notes.rn_fsc_flexible_hierarchies_sync.htm&release=264.0.0&type=5)**  
    Automate the maintenance of rule-based flexible hierarchies by using scheduled flows. Because underlying business data changes frequently, rule-based hierarchies can fall out of sync with their defined rules. Instead of manually auditing and updating hierarchies, schedule the prebuilt flows to proactively identify out-of-sync hierarchies and re-run their rules to bring them back into alignment.
- **[Set Up Flexible Hierarchies with a Coding Agent](https://help.salesforce.com/s/articleView?id=release-notes.rn_fsc_flexible_hierarchies_ai_setup.htm&release=264.0.0&type=5)**  
    In a supported AI coding environment, describe the hierarchy nodes you need. A headless workflow then generates the hierarchy type configuration, including node definitions and relationships. Previously, you configured each definition and relationship individually in Setup. Use this workflow to set up hierarchy types for advisory teams, branches, or business units faster.