@halix/action-sdk
    Preparing search index...

    Function getValueFromObject

    • getValueFromObject is a helper function that extracts a value from an object using a dot-notation path. The path can include relationships. Relationship IDs may include a colon delimiter (e.g., "accountMember:ownerAccountMemberKey") to specify the key of the related object. This is useful when an element has more than one relationship to the same object type. Otherwise, if only one relationship to the same object type exists, the key may be specified without the relationship ID (e.g., simply, "accountMember").

      Parameters

      • object: any

        The object to extract value from

      • attribute: string

        The attribute path (e.g., "user.address.city")

      Returns any

      The extracted value