<#ftl output_format="JSON"> <#import "/recipes/v2/triggers/triggerUtility_v2.ftl" as triggerUtility> <#-- The macro for generating trigger to update the adminGroups field in the Group metadata --> <#macro updateAdminGroups recipeObjectId hasNext=false> <@triggerUtility.updateField recipeObjectId=recipeObjectId objectType="GROUP" fieldName="adminGroups" isArray="true" hasNext=hasNext/> <#-- The macro for generating trigger to update the memberGroups field in the Group metadata --> <#macro updateMemberGroups recipeObjectId hasNext=false> <@triggerUtility.updateField recipeObjectId=recipeObjectId objectType="GROUP" fieldName="memberGroups" isArray="true" hasNext=hasNext/>