Cloning hierarchies of records can run into challenges when records in the hierarchy reference each another. Lookup filters can add complexity to logic needed to clone references. Super Clone Pro can help connect record references when cloning a hierarchies of records.
Below is a use case that includes a Parent-Child relationship with Assortment and Assortment Line objects. In this scenario, the Assortment Line records have multiple record types where one type references the other type of record. The Product Assortment Line records reference a Section Assortment Lines. The lookup field on the Product Assortment Line contains a filter that requires that both Product and referenced Section Assortment Line records to reference the same parent Assortment record.
This structure requires a little extra work to clone because we need the record Id from the Section Assortment Lines before the Product Assortment Lines can be inserted. We will then create the configuration to see the Parent-Child relationship as a Parent-Child-Grand Child relationship.
Super Clone Pro’s confirmation page should then display the hierarchy as a Parent-Child-Grand Child relationship. The logic will insert the Assortment first. Then the Section Assortment Lines will be inserted with a reference to the new Assortment. Finally, the Product Assortment Lines will be inserted with both the reference to the new Assortment and references to the new Section Assortment Lines.