GROUPED_SOURCE_RECORDS
Description
Returns the source records in the current group, as determined by the Source Grouping Formula — evaluated after Scope Filter.

Syntax
GROUPED_SOURCE_RECORDS() -> List<Map<String,ANY>>
Examples
GROUPED_SOURCE_RECORDS()
-- If Contacts are grouped by email domain, returns only the records in the current group, e.g. "acme.com":
-- ({Id=003DC00000ZEiTvYAL, Name=Ana Ruiz, Email=ana@acme.com},
-- {Id=003DC00000ZEiTwYAL, Name=Ben Cole, Email=ben@acme.com}).JSON_GET_FIELD_VALUES(GROUPED_SOURCE_RECORDS(Phone), "Phone")
-- Pass a field name to load a source field not referenced elsewhere in the Executable,
-- such as in a Scope Filter or Mapping.