Lava Filters - NearestGroup

Category:Person

Description:Returns the nearest group of a specified group type to the person's mapped location address.
Input: "CurrentPerson": { ... }
Lava: {% assign nearestGroup = CurrentPerson | NearestGroup:'25' %} Your nearest group is the {{ nearestGroup.Name }}.
Output: Your nearest group is the Decker Group.