getExpressionsFromDirectory()

Overview

public struct function getExpressionsFromDirectory(
      required string directory
)

Reads all the expressions from a directory of handler CFC files and returns a structure whose keys are the IDs of expressions and whose values are the detailed configuration of the expression as defined in the handler CFC actions

Arguments

NameTypeRequiredDescription
directorystringYesmapped path to the directory, e.g. /app/handlers/rules/expressions