Maximum Hierarchy Levels Reached

Salesforce permits a maximum of five levels in a campaign hierarchy. If you exceed this number of levels Salesforce will produce an error:

MAXIMUM_HIERARCHY_LEVELS_REACHED, Attaching to this Parent Campaign causes the hierarchy to exceed the maximum of 5 levels

In this case you will need to assess the number of levels created by the integration and adjust the parenting structure accordingly. Typically MoveData will use one level for an appeal (campaign), and up to three levels for peer to peer fundraising (campaign, team, fundraiser).

Worked Example

  • You create a Community Fundraising campaign called "Easter Fundraising" in your connected Platform

  • MoveData creates a campaign in Salesforce called "Easter Fundraising"

  • You reparent this campaign according to the following 4 level structure:

    • 2023

      • Community Fundraising

        • Holiday Initiatives

          • Easter Fundraising

CriteriaHierarchyOutcome

Campaign

  • 2023

  • Community Fundraising

  • Holiday Initiatives

  • Easter Fundraising

PASS (4 levels)

Team

  • 2023

  • Community Fundraising

  • Holiday Initiatives

  • Easter Fundraising

  • Team MoveData

PASS (5 levels)

Fundraiser

  • 2023

  • Community Fundraising

  • Holiday Initiatives

  • Easter Fundraising

  • Joe Blogs

PASS (5 levels)

Fundraiser In Team

  • 2023

  • Community Fundraising

  • Holiday Initiatives

  • Easter Fundraising

  • Team MoveData

  • Joe Blogs

FAIL (6 levels)

To solve this you would need to remove a level from the campaign hierarchy, like:

  • 2023

    • Community Fundraising

      • Holiday Initiatives

      • Easter Fundraising

This would allow a 5 level structure for scenarios with fundraisers in teams:

  • 2023

    • Community Fundraising

      • Easter Fundraising

        • Team MoveData

          • Joe Blogs

Last updated