Skip to main content

Get All Parents and Children

Overview

This action returns all parent and child records in a hierarchy relationship given a record. This action traverses up and down all levels of the hierarchy.

Start Record

The Record from which the hierarchy traversal starts to find the parent and child records.

Type
Record

Parent Field API Name

API name of the field that defines the hierarchy relationship.

Example: ParentId on the Account object.

Type
Text

Include Start Record in Output

When set to true, the Start Record is included in the Records output variable.

Type
Boolean

Outputs

Records

The collection of parent and child records related to the Start Record.

TypeVariable Name
Record Collectionrecords