<#ftl output_format="JSON"> <#import "/recipes/v2/triggers/triggerUtility_v2.ftl" as triggerUtility> <#-- The macro for generating trigger to update the readerGroups field in the Connected System metadata --> <#macro updateReaderGroups recipeObjectId> <@triggerUtility.updateField recipeObjectId=recipeObjectId objectType="CONNECTED_SYSTEM" fieldName="readerGroups" isArray="true"/> <#-- The macro for generating trigger to update the administratorGroups field in the Connected System metadata --> <#macro updateAdminGroups recipeObjectId> <@triggerUtility.updateField recipeObjectId=recipeObjectId objectType="CONNECTED_SYSTEM" fieldName="administratorGroups" isArray="true"/>