Lookup account members
Lookup Account Members¶
Description
The action looks up the Account that contains the context member and populates all of its other members (linked members) into the execution context. Only members in the same program are included.
Parameters
None. Uses the current member context.
JavaScript API
Outputs
Populates Context.linkedAccount with the matched account plus:
members— array of linked member objects from the same program (excluding the context member). If the member belongs to no account, this is an empty array.
Linked members are made available for reuse by later actions in the same flow.
Events Triggered
No events are generated by this action.
Possible Errors
| Error Code | Error Message | Description |
|---|---|---|
| 4002 | Member not found | Reported if there is no context member set (Lookup Member must run first). |
Other errors are propagated from the underlying storage layer.
Additional Considerations
- The action is a no-op if
Context.linkedAccountis already populated. - If any linked member is missing purses defined by the program, they are added before the member is returned.
- Tier display names are translated on linked members when the program's tier-name translation setting is enabled.