<#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 Rule Folder metadata --> <#macro updateReaderGroups recipeObjectId hasNext=false> <@triggerUtility.updateField recipeObjectId=recipeObjectId objectType="RULE_FOLDER" fieldName="readerGroups" isArray="true" hasNext=hasNext/> <#-- The macro for generating trigger to update the administratorGroups field in the Rule Folder metadata --> <#macro updateAdminGroups recipeObjectId hasNext=false> <@triggerUtility.updateField recipeObjectId=recipeObjectId objectType="RULE_FOLDER" fieldName="administratorGroups" isArray="true" hasNext=hasNext/>