Skip to main content

Get Top Parent

Overview

This action returns the top parent in a hierarchy relationship given a child record. This top parent record is the record that does not have a parent itself.

Inputs

Start Record

Record from which the upward hierarchy traversal starts to find the top parent.

Type
Record

Parent Field API Name

API name of the field that defines the hierarchy relationship.

Example: ParentId on the Account object.

Type
Text

Outputs

Record

The record at the top of the hierarchy related to the Start Record.

TypeVariable Name
Recordrecord